Welcome to Geeklog, Anonymous Monday, November 09 2026 @ 01:17 pm EST
Geeklog Forums
Virtual hosting GL
Whoosh!
Anonymous
I have read a few posts here re: virtual hosting GL. I think I can do it well enough.
My question concerns how best to set the GL directory structure.
I currently have a site set up like this:
/var/www/site1 - (contains GL config.php, backups, docs, language, logs, sql and system directories)
/var/www/public_html - (contains the rest of my site)
I wish to add another GL site here. I am thinking of doing it like this:
/var/www/site2 - (will contain GL config.php, backups, docs, language, logs, sql and system directories)
/var/www/public_html2 - (will contain the rest of my second site)
Sounds good????
My question concerns how best to set the GL directory structure.
I currently have a site set up like this:
/var/www/site1 - (contains GL config.php, backups, docs, language, logs, sql and system directories)
/var/www/public_html - (contains the rest of my site)
I wish to add another GL site here. I am thinking of doing it like this:
/var/www/site2 - (will contain GL config.php, backups, docs, language, logs, sql and system directories)
/var/www/public_html2 - (will contain the rest of my second site)
Sounds good????
25
30
Quote
Status: offline
tomw
Forum User
Full Member
Registered: 08/12/02
Posts: 300
Why not just keep everything together? Like
/var/www/site1/public_html
/var/www/site2/public_html
/var/www/site3/public_html
This mimics the normal directory structure.
If you have subsites then you can arrange them like this:
/var/www/mainsite
/var/www/public_html
/var/www/site2
/var/www/public_html/site2
/var/www/site3
/var/www/public_html/site3
hth
TomW
/var/www/site1/public_html
/var/www/site2/public_html
/var/www/site3/public_html
This mimics the normal directory structure.
If you have subsites then you can arrange them like this:
/var/www/mainsite
/var/www/public_html
/var/www/site2
/var/www/public_html/site2
/var/www/site3
/var/www/public_html/site3
hth
TomW
26
22
Quote
Whoosh!
Anonymous
Yup Thanks. That makes a whole lot more sense. (Can't believe I didn't see this.)
27
26
Quote
All times are EST. The time is now 01:17 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content