Membership Membership:
Latest New User Latest: vpros
Past 24 Hours Past 24 Hours: 0
Prev. 24 Hours Prev. 24 Hours: 0
User Count Overall: 137

People Online People Online:
Visitors Visitors: 8
Members Members: 0
Total Total: 8

NakedMCSE Computer Tech Support Forums

So you have passed all of the exams and you are now out in the real world of windows servers, linux servers and freebsd servers faced with a tech support problem you have never seen before...

Find free online tech support in the forums below, respecting that advice is free, but work beyond advice is not...

The General forum is provided for off topic discussion.

You need a user account to post - please Register or Login.

Online Tech Support Forums
 
  Forum  Open Source Tec...  Apache Server  Plesk, httpd.include and vhost.conf
Previous Previous
 
Next Next
New Post 9/15/2010 5:25 PM
Informative
  Walker
119 posts
www.lairdscomputer.com
10th Level Poster


Plesk, httpd.include and vhost.conf 

 In /var/www/vhosts/domain.com/conf you will find two files - httpd.include and vhost.conf.  httpd.include is maintained and updated by plesk itself and should not in general be edited.

vhost.conf is where you should place any custom apache directives that you want to use with the domain.

To tell plesk about the custom directives you then need to run:

/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=domain.com

To rescan the vhost.conf files for all sites:

/usr/local/psa/admin/sbin/websrvmng -a

This will add in an include for the vhost.conf file to the httpd.include file.

Walker
Apache Server Support

 
Previous Previous
 
Next Next
  Forum  Open Source Tec...  Apache Server  Plesk, httpd.include and vhost.conf
Send me One Million FREE Guaranteed Visitors