4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 Mod_rewrite/.htaccess probs
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
gavpedz
Junior WebHelper
Junior WebHelper


Joined: 15 Jan 2007
Posts: 1

PostPosted: Mon Jan 15, 2007 9:44 am (10 years, 10 months ago) Reply with QuoteBack to Top

Hi guys i have just installed a directory script to my site www.pixelcarads.co.uk/directory

it looks fine untill you try to click any links like the catagories and things.

this is what you get

Not Found

The requested URL /pi/xe/lc/pixelcarads.co.uk/public_html/directory/index.php was not found on this server.
webfusion.co.uk/httpd Server at www.pixelcarads.co.uk Port 80

i have contacted my host and they just told me i need to have .htaccess
file to turn on mod_rewrite now i do have .htaccess files the main one has this in

RewriteEngine on

RewriteRule ^(.*)/$ index.php?category=$1 [QSA,L]
RewriteRule ^(.*)/index([0-9]+).html$ index.php?category=$1&page=$2 [QSA,L]

RewriteRule ^new-links.html$ new-links.php [QSA,L]
RewriteRule ^new-links([0-9]+).html$ new-links.php?page=$1 [QSA,L]

RewriteRule ^top-links.html$ top-links.php [QSA,L]
RewriteRule ^top-links([0-9]+).html$ top-links.php?page=$1 [QSA,L]

RewriteRule ^popular-links.html$ popular-links.php [QSA,L]
RewriteRule ^popular-links([0-9]+).html$ popular-links.php?page=$1 [QSA,L]

RewriteRule ^editor-links/index.html$ editor-links.php [QSA,L]
RewriteRule ^editor-links/index([0-9]+).html$ editor-links.php?page=$1 [QSA,L]

RewriteRule ^(.*)/(.*)-l([0-9]+).html$ view-link.php?cat=$1&title=$2&id=$3 [QSA,L]


the others in the script just have (deny from all) in

so what is going wrong here am i missing something?

Please help i have spent over a week now trying to sort this


Mad

________________________________
Window Cleaning Forum
OfflineView User's ProfileFind all posts by gavpedzSend Personal MessageVisit Poster's Website
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.045685 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme