John McQuillen wrote:

On Sun, 2004-03-21 at 00:21, Patrick Lesslie wrote:


On Sat, Mar 20, 2004 at 11:34:46PM +1100, John McQuillen wrote:


However, if I access http://localhost/admin/phpMyAdmin/ (with a trailing
slash) it works.

Could anyone tell me why that is?

The config is as follows:

NameVirtualHost *

<VirtualHost *>
ServerName www.mcquillen.bur.st
ServerAlias *.mcquillen.bur.st localhost
DocumentRoot /var/www/html/
</VirtualHost>


DocumentRoot doesn't like a trailing slash (apparently bug in mod_dir).




Thanks Patrick, I have removed the trailing slash, however, the behaviour is still as I described...

Any other ideas? Or is this perhaps just something that I have to learn
to deal with (not that it is really a big deal after all) ?


Is the path to phpMyAdmin /var/www/html/admin/phpMyAdmin ? Or is it aliased?

If you alias a directory and include a trailing slash then you must also include a trailing slash in the url.

Cheers,
Brad







-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to