Difference between revisions of "M2web-vista-site"
From VistApedia
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <VirtualHost *> | + | |
+ | <VirtualHost *> | ||
ServerName vista.net | ServerName vista.net | ||
− | ServerAlias | + | ServerAlias vista |
− | ServerAdmin | + | ServerAdmin xxxxx@gmail.com |
SuexecUserGroup vista vista | SuexecUserGroup vista vista | ||
DocumentRoot /var/www/vista/ | DocumentRoot /var/www/vista/ | ||
− | + | ||
<Directory /> | <Directory /> | ||
Options FollowSymLinks | Options FollowSymLinks | ||
AllowOverride None | AllowOverride None | ||
</Directory> | </Directory> | ||
+ | |||
<Directory /var/www/> | <Directory /var/www/> | ||
Options ExecCGI Indexes FollowSymLinks MultiViews | Options ExecCGI Indexes FollowSymLinks MultiViews | ||
Line 16: | Line 18: | ||
allow from all | allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
<Directory "/var/www/vista/"> | <Directory "/var/www/vista/"> | ||
AllowOverride None | AllowOverride None | ||
Line 23: | Line 25: | ||
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 43: | ||
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 51: | ||
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 59: | ||
Allow from all | Allow from all | ||
</Directory> | </Directory> | ||
− | + | ||
ScriptAlias / /var/www/vista/m2web.cgi/ | ScriptAlias / /var/www/vista/m2web.cgi/ | ||
− | + | ||
− | </VirtualHost> | + | </VirtualHost> |
Latest revision as of 23:22, 12 October 2006
<VirtualHost *> ServerName vista.net ServerAlias vista ServerAdmin xxxxx@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>