:Add a Regular Host

From ASUW Wiki
(Difference between revisions)
Jump to: navigation, search
(Creation of Page!)
 
m (Add a Regular Host moved to Asuw:Add a Regular Host: Wrong Namespace)

Revision as of 14:28, 7 June 2007

To add an SSL host to the server you first have to edit the correct file under /etc/apache-perl/virtuals.

asuw.conf
All hosts that are *.asuw.org
gpss.conf
All hosts that are *.gpss.washington.edu
other.conf
Everyone else.

First make sure that you have added a new user for this virtual host then add the following code to the file replacing host with the correct hostname/username.

<VirtualHost 128.95.18.18 128.95.18.21 128.95.18.22>
	ServerName host.asuw.org
	DocumentRoot /www/host
	ServerAlias host.asuw.fake
	CustomLog /var/log/apache-perl/asuw/host.access.log combined
	ErrorLog /var/log/apache-perl/asuw/host.error.log

	User host
	Group host

	ScriptAlias /cgi-bin/ /www/host-cgi/
	<Directory /www/host-cgi/>
		AllowOverride None
		Options ExecCGI
		Order allow,deny
		Allow from all
	</Directory>

	<Directory /www/host/>
		AllowOverride All
		Order Deny,Allow
		Allow from all
	</Directory>
</VirtualHost>
  • Please (please, please...) keep the virtuals files alphabetized by hostname/username.
Personal tools
Namespaces

Variants
Actions
Navigation
Tools