You will have to excuse if this question seems stupid but while I am a fairly skilled PHP developer I am a total newb when is comes to apache and server config.
I am trying to have a single page accept all the request for directories on my site unless the requested directory actually exists. The most common example I see of this is in wordpress though I cannot figure out how wordpress is actually acomplishing it. This is probably best communicated through example
my index.php page will then parse that variable 'request' and deliver the apropriate content to the visitor.
now there is one other consideration and that is for directories that do exist such as the /images directory. I need to be able to still serve my images dir requests or any other dir that exists. So if some one requests
This however results in a continuous loop of the server looking for index.php
Any helpful direction on this would be very appreciated. I have looked through a number of mod Rewrite explanations but cannot get this figured out
Related Article:htaccess 301
is a Linux and Unix discussion thread by andy106 that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: 301, ecommerce, htaccess, htaccesscountry, redirect, apache.