----------MB_8CC788E63E35155_4930_10E02_webmail-m085.sysops. aol.com
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"
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"
<font color=3D'black' size=3D'2' face=3D'arial'>
<div> <br>
</div>
<div> <font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif">Hello,<=
br>
<br>
I am making a diligent but a failing effort trying to match directories in=
the base of the apache root for my site.<br>
<br>
My latest incarnation did not work<br>
AliasMatch ^/([^.*])$ /www/html/includes/director.php<br>
<br>
Have searched the web, and just cannot get this figured out.<br>
<br>
This would match, if a user requests<br>
http://www.test.com/help (any directory name but not a file)<br>
<br>
These would not match<br>
http://www.test.com<br>
</font></font><font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif"=
>http://www.test.com/<br>
</font></font><font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif"=
>http://www.test.com/anyfile.php<br>
</font></font><font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif"=
>http://www.test.com/help/morehelp<br>
<br>
I will have ACTUAL directories off the root, but I will check for those an=
d control those in the script, though, it<br>
would be nice if an actual directory would be handled by apache and not by=
the AliasMatch.<br>
<br>
Just need to work with virtual directories that will be pulled from a db.=
So if someone http://www.test.com/mysite,<br>
I can query the DB based on mysite.<br>
</font></font><font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif"=
><br>
Thank You<br>
</font></font><font size=3D"2"><font face=3D"Arial, Helvetica, sans-serif"=
><br>
</font></font></div>
<div style=3D"clear: both;"></div>
</font>
----------MB_8CC788E63E35155_4930_10E02_webmail-m085.sysops. aol.com--
