LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-15-2014, 02:53 PM   #1
Lockywolf
Member
 
Registered: Jul 2007
Posts: 70

Rep: Reputation: 15
What is the "standard" place to keep Apache VirtualHosts in Slackware?


I doubt it is "/var/www/htdocs/server.domain".

Where would you suggest?
 
Old 03-15-2014, 03:07 PM   #2
tux_dude
Member
 
Registered: Dec 2008
Distribution: Slackware64 Current
Posts: 226

Rep: Reputation: 33
I wouldn't say there is one. You can pretty much place them where ever you choose under your webroot. I personally dislike my webroot under /var and think /srv is a better place for it. Don't forget to update you vhost file /etc/httpd/extra/httpd-vhosts.conf
 
Old 03-15-2014, 06:05 PM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,958

Rep: Reputation: 975Reputation: 975Reputation: 975Reputation: 975Reputation: 975Reputation: 975Reputation: 975Reputation: 975
Quote:
Originally Posted by Lockywolf View Post
I doubt it is "/var/www/htdocs/server.domain".

Where would you suggest?
I put everything under /var/www/vhosts. Here's an example of the base directory structure:

Code:
[root@sd-48975:~] # tree -d -L 2 /var/www/vhosts/
/var/www/vhosts/
|-- default
|   `-- htdocs
|-- fuckmicrosoft
|   `-- htdocs
|-- fuckmicrosoft-webmail
|   |-- attach
|   |-- data
|   `-- htdocs
|-- kikinovak
|   `-- htdocs
|-- osteo
|   `-- htdocs
|-- osteo-montpellier
|   `-- htdocs
|-- osteo-montpellier-webmail
|   |-- attach
|   |-- data
|   `-- htdocs
|-- osteo-sommieres
|   `-- htdocs
|-- osteo-sommieres-webmail
|   |-- attach
|   |-- data
|   `-- htdocs
|-- radionovak
|   `-- htdocs
|-- radionovak-webmail
|   |-- attach
|   |-- data
|   `-- htdocs
|-- scholae
|   `-- htdocs
|-- scholae-compta
|   |-- build
|   |-- dev
|   |-- doc
|   |-- documents
|   |-- htdocs
|   `-- scripts
|-- scholae-secure
|   `-- htdocs
`-- scholae-webmail
    |-- attach
    |-- data
    `-- htdocs
cheers,

Niki
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Live: "standard" vs. "rescue" version newbiesforever Debian 2 06-04-2012 11:55 PM
[SOLVED] "standard/appropriate" place for downloaded program folder/files/etc? Ubunoob001 Linux - Newbie 3 11-21-2010 11:25 AM
How do I skip/jump to a "particular place" or "specified time/second" in mplayer? Aidin Sabetian Linux - Software 3 04-20-2010 07:46 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
Bios config: "ahci" or "standard ide" for a sata drive ? Danodare Slackware 1 11-05-2006 01:31 AM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration