Difference between revisions of "M2web-vista-site"
From VistApedia
Line 1: | Line 1: | ||
− | <VirtualHost *> | + | <VirtualHost *> |
ServerName vista.net | ServerName vista.net | ||
ServerAlias vistaserver | ServerAlias vistaserver | ||
Line 5: | Line 5: | ||
SuexecUserGroup vista vista | SuexecUserGroup vista vista | ||
DocumentRoot /var/www/vista/ | DocumentRoot /var/www/vista/ | ||
− | + | ||
<Directory /> | <Directory /> | ||
Options FollowSymLinks | Options FollowSymLinks | ||
Line 16: | Line 16: | ||
allow from all | allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
<Directory "/var/www/vista/"> | <Directory "/var/www/vista/"> | ||
AllowOverride None | AllowOverride None | ||
Line 23: | Line 23: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
− | + | ||
ErrorLog /var/log/apache2/vista_error.log | ErrorLog /var/log/apache2/vista_error.log | ||
− | + | ||
# Possible values include: debug, info, notice, warn, error, crit, | # Possible values include: debug, info, notice, warn, error, crit, | ||
# alert, emerg. | # alert, emerg. | ||
LogLevel warn | LogLevel warn | ||
− | + | ||
CustomLog /var/log/apache2/vista_access.log combined | CustomLog /var/log/apache2/vista_access.log combined | ||
ServerSignature On | ServerSignature On | ||
− | + | ||
Alias /icon/ "/usr/local/m2web/w/icon/" | Alias /icon/ "/usr/local/m2web/w/icon/" | ||
<Directory "/usr/local/m2web/w/icon"> | <Directory "/usr/local/m2web/w/icon"> | ||
Line 41: | Line 41: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
Alias /icons/ "/usr/share/apache2/icons/" | Alias /icons/ "/usr/share/apache2/icons/" | ||
<Directory "/usr/share/apache2/icons"> | <Directory "/usr/share/apache2/icons"> | ||
Line 49: | Line 49: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
Alias /doc/ "/usr/local/m2web/" | Alias /doc/ "/usr/local/m2web/" | ||
<Directory "/usr/local/m2web"> | <Directory "/usr/local/m2web"> | ||
Line 57: | Line 57: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
ScriptAlias / /var/www/vista/m2web.cgi/ | ScriptAlias / /var/www/vista/m2web.cgi/ | ||
− | + | ||
− | </VirtualHost> | + | </VirtualHost> |
Revision as of 22:54, 12 October 2006
<VirtualHost *> ServerName vista.net ServerAlias vistaserver ServerAdmin kdtop3@gmail.com SuexecUserGroup vista vista DocumentRoot /var/www/vista/ <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options ExecCGI Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> <Directory "/var/www/vista/"> AllowOverride None Options ExecCGI Indexes FollowSymLinks MultiViews Order allow,deny Allow from all </Directory> ErrorLog /var/log/apache2/vista_error.log # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/vista_access.log combined ServerSignature On Alias /icon/ "/usr/local/m2web/w/icon/" <Directory "/usr/local/m2web/w/icon"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /icons/ "/usr/share/apache2/icons/" <Directory "/usr/share/apache2/icons"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory> Alias /doc/ "/usr/local/m2web/" <Directory "/usr/local/m2web"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> ScriptAlias / /var/www/vista/m2web.cgi/ </VirtualHost>