![]() |
|
"be consistent" | |
PerlMonks |
use path_info for pretty URLby Thilosophy (Curate) |
on Dec 28, 2004 at 11:27 UTC ( #417744=note: print w/replies, xml ) | Need Help?? |
Disallow access to the real files and force users to access only the script. Use the query string to decide which file to load.
Actually, the URIs do not have to be ugly if you use the path_info instead of the query string: http://myhost/index.html becomes http://myhost/a.cgi/index.html. You can even keep the URL same as before by using a ScriptAlias directive (which I suppose your host does not let you have, though).
In Section
Seekers of Perl Wisdom
|
|