User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Linux Servers and Apache section within the Tech Talk category of DaniWeb, a massive community of 402,734 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,484 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Linux Servers and Apache advertiser: Programming Forums
Views: 1159 | Replies: 0
Reply
Join Date: Jun 2007
Posts: 1
Reputation: thapame is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
thapame thapame is offline Offline
Newbie Poster

mod_rewrite related problem

  #1  
Jun 28th, 2007
I have following code in my .htaccess for SEF URLs for www.fashionsansar.com so please let me know is this correct.

Options FollowSymLinks SymLinksIfOwnerMatch
RewriteEngine on

#################################################################################################
## Rewrite index urls
#################################################################################################
RewriteRule index-([0-9]*)\.html$ index.php?page$1 [NC]


#################################################################################################
## Rewrite image_view urls
#################################################################################################
RewriteRule fas_fusk/image_view([0-9]*)\.html fas_fusk/image_view.php?id=$1 [NC]


#################################################################################################
## Rewrite tag_search urls
#################################################################################################
RewriteRule fas_fusk/tag_search([0-9]*)-page-([0-9]*)\.html fas_fusk/tag_search.php?q=$1&page=$2 [NC]

but it's not working. .htaccess SEF URLs is already running without any problem on another website on same host.
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Linux Servers and Apache Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Linux Servers and Apache Forum

All times are GMT -4. The time now is 7:24 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC