Issue with aliasmatch and matching base directories
am 10.02.2010 18:34:10 von humanx2000 ----------MB_8CC788E63E35155_4930_10E02_webmail-m085.sysops. aol.com
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"
=20
Hello,
I am making a diligent but a failing effort trying to match directories in=
the base of the apache root for my site.
My latest incarnation did not work
AliasMatch ^/([^.*])$ /www/html/includes/director.php
Have searched the web, and just cannot get this figured out.
This would match, if a user requests
http://www.test.com/help (any directory name but not a file)
These would not match
http://www.test.com
http://www.test.com/
http://www.test.com/anyfile.php
http://www.test.com/help/morehelp
I will have ACTUAL directories off the root, but I will check for those an=
d control those in the script, though, it
would be nice if an actual directory would be handled by apache and not by=
the AliasMatch.
Just need to work with virtual directories that will be pulled from a db.=
So if someone http://www.test.com/mysite,
I can query the DB based on mysite.
Thank You
----------MB_8CC788E63E35155_4930_10E02_webmail-m085.sysops. aol.com
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset="us-ascii"
br>
I am making a diligent but a failing effort trying to match directories in=
the base of the apache root for my site.
My latest incarnation did not work
AliasMatch ^/([^.*])$ /www/html/includes/director.php
Have searched the web, and just cannot get this figured out.
This would match, if a user requests
http://www.test.com/help (any directory name but not a file)
These would not match
http://www.test.com
>http://www.test.com/
>http://www.test.com/anyfile.php
>http://www.test.com/help/morehelp
I will have ACTUAL directories off the root, but I will check for those an=
d control those in the script, though, it
would be nice if an actual directory would be handled by apache and not by=
the AliasMatch.
Just need to work with virtual directories that will be pulled from a db.=
So if someone http://www.test.com/mysite,
I can query the DB based on mysite.
>
Thank You
>
----------MB_8CC788E63E35155_4930_10E02_webmail-m085.sysops. aol.com--