Apache Config issue: VirtualHost Wiki URL Adding Backslash in Firefox
I have set up two wikis on my WAMP server, essentially as follows:
C:WAMP/www/wiki_1
C:WAMP/www/wiki_2
To handle getting users to the right place, I have changed the Apache config so that the following was added:
NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "C:WAMP/www/wiki_1" ServerName prefix.myurl.com </VirtualHost> <VirtualHost *:80> DocumentRoot "C:WAMP/www/wiki_2" ServerName prefix.myotherurl.com </VirtualHost>
This mostly works, except when you login. That is, unauthorized users get the login page, and then when they login they get the following:
- In Firefox (note the backslash after the domain name)
- http://prefix.myotherurl.com\/tiki-index.php?page=Home+Page
- In IE (note the doubled forward slash after the domain name)
- http://prefix.myotherurl.com//tiki-index.php?page=Home+Page
DOES ANYONE have an idea where the configuration may be going wrong or why tikiwiki appears to be adding an additional slash in the relative URL?
NOTE: if the backslash is removed after the successful login, everything works fine from there on...
Thanks for any suggestions!