__________________
Origin: ...почему люди бьются головой об стену? Биться об угол намного эффективнее!
Я не являюсь работником ОАО БИС и по всем связанным вопросам посылаю нафиг.
__________________
Origin: ...почему люди бьются головой об стену? Биться об угол намного эффективнее!
Я не являюсь работником ОАО БИС и по всем связанным вопросам посылаю нафиг.
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
<Directory /var/www/asp/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.aspx index.html Default.aspx default.aspx
AddHandler mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
</Directory>
</VirtualHost>
Это два
cat /etc/apache2/ports.conf:
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
NameVirtualHost *:80
Listen 80
NameVirtualHost *:85
Listen 85
<IfModule mod_ssl.c>
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to <VirtualHost *:443>
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 443
</IfModule>