| FAQ |
| Kalender |
|
|
#1 | ||
|
|||
|
Har WN som tidsfördriv
|
Hej,
håller på och sätter upp en apache server (urgh!) åt en kund med php-fpm på Debian Squeeze och har stött på problem att när man anropar sajten http://derassajt/index.php så funkar allt finfint MEN när jag bara anropar http://derassajt/ så svarar servern med 404. ![]() Jag har provat med Kod:
DirectoryIndex index.php index.html sites-available/default: Kod:
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot /var/www/site
ServerName cctv.derassajt.se
ErrorLog /var/log/apache2/cctv_errorlog
CustomLog /var/log/apache2/cctv_accesslog common
AddHandler php5-fastcgi .php
FastCgiExternalServer /var/www/site -socket /var/run/php-fpm.sock
</VirtualHost>
|
||
|
|
Svara med citat
|
|
|