in reply to Re^3: perl hide by html....
in thread perl hide by html....
If you're using mod_rewrite, you can set options on just about anything, but that's not quite what I was alluding to.
For what I was talking about in that particular case, what you'd do is set your DirectoryIndex or equivalent in your web server, so that instead of referencing your pages as something like the following:
You instead use:
Each one of those is actually a directory, so in the case of Apache, it's going to redirect you to:
And in each of those directories, you'll have the appropriate file extension for whatever you're trying to trigger. (index.shtml, index.php, index.jsp, index.cfm, index.cgi, etc, which you've defined as being your directory index, and configured your server to handle the extension correctly)
|
|---|