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)
+ evlrocks.com shows http://ishotit.tv/evl/main.php (NOT 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?


Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.7 apache
Webserver = Apache
Database = mysqlt 4.0.16, lock.system=flock
Toolkits = NetPBM, Ffmpeg, Gd, ImageMagick
Acceleration = none, none
Operating system = FreeBSD host543.ipowerweb.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Wed Apr i386
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; Windows-Media-Player/10.00.00.3990; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

Thank you SO much!

Annie
Gallery WIP: http://www.evlrocks.com

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2008-01-30 17:47

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

 
The Webmistress

Joined: 2007-03-20
Posts: 97
Posted: Wed, 2008-01-30 18:31

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