Addressed to: Mike Eheler <[EMAIL PROTECTED]>
              [EMAIL PROTECTED]

** Reply to note from Mike Eheler <[EMAIL PROTECTED]> Thu, 03 Jan 2002 16:26:53 
> That's the whole point of this thread.. that's what I want to avoid. I
> want to have a URI that is easier to remember, and less ugly, and also
> provides a sense of security (even if it is only a faint sense) through
> obscurity.

The .htaccess/httpd.conf solution is:

<Location /news>
ForceType application/X-httpd-php

Now the file news in your DocumentRoot directory will be executed as a
php program, and anything that appears as directory and file names
after it will appear in $PATH_INFO.  (I think that's where it appears
anyway.  Check phpinfo() to be sure.)

It works very well.

Rick Widmer
Internet Marketing Specialists

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to