Jump to content


- - - - -

httpd.conf Virtual hosts


  • Please log in to reply
1 reply to this topic

#1 gjessing

gjessing

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 July 2011 - 06:15 PM

Hi
I just install CentOS 5.6  and apache,mysql but it is if my site dosent load proberly.
I get a blank site, seems that the mod_rewrite is not working
I like to run to sites on the server so I createt virtual hosts

<VirtualHost *:80>
DocumentRoot /vvv/modelportal.dk/httpdocs

ServerAdmin [email]info@modelportal.dk[/email]
ServerName modelportal.dk


ServerAlias modelportal.dk *.modelportal.dk


DirectoryIndex index.php index.html index.htm index.shtml 
<Directory ./vvv/modelportal.dk/httpdocs.>
Options all
AllowOverride none
</Directory>
LogLevel debug
HostNameLookups off
</VirtualHost>

<VirtualHost *:80>

DocumentRoot /vvv/ps3.dk/httpdocs

ServerAdmin [email]info@ps3.dk[/email]
ServerName ps3.dk

ServerAlias  ps3.dk *.ps3.dk

DirectoryIndex index.php index.html 

<Directory ./vvv/ps3.dk/httpdocs>
</Directory>
</VirtualHost>
<Directory ./.>
Options FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
Options +Indexes
</Directory>

<Directory ./vvv/html.>
Options Indexes Includes FollowSymLinks
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory ./var/vvv/icons.>
Options Indexes MultiViews
AllowOverride None
Allow from all
Order allow,deny
</Directory>
<Directory ./var/vvv/cgi-bin.>
Options ExecCGI
AllowOverride None
Allow from all
Order allow,deny
</Directory>


#2 wildweaselmi

wildweaselmi

    Administrator

  • Administrators
  • 1,024 posts

Posted 13 July 2011 - 02:40 PM

Curious, did that work for you?  I have something similar configured.





Similar Topics Collapse

  Topic Forum Started By Stats Last Post Info

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users