У меня такая проблема!
Установил 7.10 server + lamp + phpmyadmin
apache2.conf настроил как обычно
/etc/apache2/sites-available ... млин виртуальные тоже как обычно
Что может быть не правильно настроено
Привожу часть файлов
apache2.conf:
# Include generic snippets of statements
Include /etc/apache2/conf.d/
ServerName (wan ip):80
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Дальше
файлик
sites-available/default:
NameVirtualHost (wan ip):80
<VirtualHost (wan ip):80>
ServerAdmin admin@blabla.ru
ServerName
www.blabla.ru DocumentRoot /var/www/blabla/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/blabla/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
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>
</VirtualHost>
error.log apache2:
[Thu Nov 22 00:19:17 2007] [notice] Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 configured -- resuming normal operations
[Thu Nov 22 00:19:38 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
[Thu Nov 22 00:19:48 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
[Thu Nov 22 00:19:53 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
причем тут /htdocs? ведь в настройках стоит /var/www/blabla/
phpmyadmin ставил через apt-get, может это он тут замешан?
З.Ы. Не ругайтесь на ошибки, может вопрос и простой но начинающему тяжело
И еще вопросУ меня такая проблема!
Установил 7.10 server + lamp + phpmyadmin
apache2.conf настроил как обычно
/etc/apache2/sites-available ... млин виртуальные тоже как обычно
Что может быть не правильно настроено
Привожу часть файлов
apache2.conf:
# Include generic snippets of statements
Include /etc/apache2/conf.d/
ServerName (wan ip):80
# Include the virtual host configurations:
Include /etc/apache2/sites-enabled/
Дальше
файлик
sites-available/default:
NameVirtualHost (wan ip):80
<VirtualHost (wan ip):80>
ServerAdmin admin@blabla.ru
ServerName
www.blabla.ru DocumentRoot /var/www/blabla/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/blabla/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /apache2-default/
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
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>
</VirtualHost>
error.log apache2:
[Thu Nov 22 00:19:17 2007] [notice] Apache/2.2.4 (Ubuntu) PHP/5.2.3-1ubuntu6 configured -- resuming normal operations
[Thu Nov 22 00:19:38 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
[Thu Nov 22 00:19:48 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
[Thu Nov 22 00:19:53 2007] [error] [client 192.168.0.183] File does not exist: /htdocs
причем тут /htdocs? ведь в настройках стоит /var/www/blabla/
phpmyadmin ставил через apt, может это он тут замешан?
З.Ы. Не ругайтесь на ошибки, может вопрос и простой но начинающему тяжело