Mam pewien problem z chrome oraz operą. W iceweasel/firefox wszystko jest OK.
Wstawiam konfigurację serwera itp
/etc/apache2/sites-available/default
Kod
<VirtualHost *:80>
ServerName localhost
ServerAdmin webmaster@localhost
DocumentRoot /home/artur/www/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/artur/www/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</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 ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
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>
ServerName localhost
ServerAdmin webmaster@localhost
DocumentRoot /home/artur/www/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/artur/www/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</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 ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
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>
/etc/apache2/sites-available/jobeet
Kod
<VirtualHost 127.0.0.1:80>
ServerName jobeet
DocumentRoot "/home/artur/www/www/sfprojects/jobeet/web"
DirectoryIndex index.php
<Directory "/home/artur/www/www/sfprojects/jobeet/web">
AllowOverride All
Allow from All
</Directory>
Alias /sf /home/artur/www/www/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
<Directory "/home/artur/www/www/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
ServerName jobeet
DocumentRoot "/home/artur/www/www/sfprojects/jobeet/web"
DirectoryIndex index.php
<Directory "/home/artur/www/www/sfprojects/jobeet/web">
AllowOverride All
Allow from All
</Directory>
Alias /sf /home/artur/www/www/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
<Directory "/home/artur/www/www/sfprojects/jobeet/lib/vendor/symfony/data/web/sf">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
/etc/hosts
Kod
127.0.0.1 localhost
127.0.1.1 debian
127.0.0.1 jobeet
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 debian
127.0.0.1 jobeet
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
Zauważyłem dziwne zachowanie w operze oraz chrome. Po wpisaniu w pasku adresu http://localhost opera oraz chrome pobierają stronę jobeta. Tymczasem powinny listować katalogi, które są w /home/artur/www/www. Przynajmniej w Iceweasel sie tak dzieje. Ma ktoś może jakieś rozwiązanie tego problemu? Cache wyczyszczony, historia też. Dziwne jak dla mnie, ze w Iceweasel wszystko jest OK a w operze i chrome jest nie tak:(
Pozdrawiam
Artur Dziocha