2 sites, 1 server, How can I differentiate URLs shown?
The Webmistress
Joined: 2007-03-20
Posts: 97 |
Posted: Wed, 2008-01-30 17:33 |
I have 2 Gallery2 websites, both on the same server, in different directories. Problem is, the URL shown for evlrocks is not how I'd like it. + ishotit.tv shows http://ishotit.tv/Heat/main.php (GREAT) (ishotit.tv was first, then we added evlrocks.com) For evlrocks.com, I want the URL to show http://evlrocks.com/evl/blahblah For ishotit.tv, I want the URL to show http://ishotit.tv/Heat/blahblah Even better, I'd love to hide the directories (Heat, evl) if possible. I'm eventually going to activate the URL Rewrite and Permalinks modules. Prior playing with the mods, I remember having to 666 .htaccess which caused me to lose my specified file size upload limit set within that file. How do I handle this?
Thank you SO much! Annie |
|
Posts: 32509
that's all about your apache setup.
if your apache document root is /some/path/ and you put your gallery folder at /some/path/evl/ then that's why evl is in the URL.
obviously you run a single apache with multiples sites. each site can have its own document root.
either change the document root or move your gallery2 folder.
related:
FAQ: How can I move my gallery installation from one folder to another?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 97
Hey valiant,
Each site's directory is in the public_html directory.
public_html/Heat/main.php (for ishotit.tv)
public_html/evl/main.php (for evlrocks.com)
How would I assign each their own document root?
Annie
Gallery WIP: http://www.evlrocks.com