Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Add new Virtualhost
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dabLSDst
n00b
n00b


Joined: 26 Jun 2013
Posts: 1

PostPosted: Wed Jun 26, 2013 1:52 pm    Post subject: Add new Virtualhost Reply with quote

Hi,

I need to add an adress to the virtualhosts but, there is no httpd.conf or anything in the vhost folder and i cant find where the server admin put the existing settings (cant ask him only speaks russian) . Is it possible to just add domain.www.conf to /etc/vhosts/ (there is no vhost.d) or would it get in conflict with the existing one (which i cant find) and/or is there a way to find out where the virtualhost settings where made?

    6.32.16-linode28 #1 SMP Sun Jul 25 21:32:42 UTC 2010 i686 Intel(R) Xeon(R) CPU L5520 @ 2.27GHz GenuineIntel GNU/Linux

    Gentoo Base System release 2.1



(content of .conf):
<IfDefine DEFAULT_VHOST>
<VirtualHost *:80>
ServerName www.your-server.net
ServerAlias your-server.net
DocumentRoot "/var/www/net.your-server.www/htdocs"
<Directory "/var/www/net.your-server.www/htdocs">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
</IfDefine>

regards
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1406

PostPosted: Wed Jun 26, 2013 6:13 pm    Post subject: Reply with quote

Start Here:

Slicehost: Installing apache on Gentoo

This tutorial is great, especially the Configuration Files Section
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum