Thread: mod_rewrite
View Single Post
  #28  
Old 12-16-2005, 12:47 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
"Options -Indexes" is not required to use mod_rewrite.
That simply tells apache not to do directory listings.
Which helps provide a little more security.

As for the template I am currently using...
I built it for my site, so all the modifications I made to it and index.php and the various mods work great on my site.... but if they were used on any other site they won't work. :-(

If I ever make a template again, I will build it so I won't be tethered to my site only.

Quote:
Originally Posted by unmake
Code:
$image_permalink = "<a href="photos/'$image_id'>$lang_permalink</a>";
the cleanest method is to locate the $showprefix definition, and change that to 'photo/' or whatever.

...
depending on how you've coded your templates, they may need to be modified as well; adding a BASE HREF tag can help resolve relative locations..
unmake is right on.
It's simply a matter of searching your index.php and the various mod php files that you use and setting the path accordingly.
__________________
Jay Williams | A Different View
Reply With Quote