index.php not found

by yelin, Tuesday, January 14, 2014, 20:36 (3846 days ago)

Hi everyone.

I'm installing selfoss on my Debian 7.2.0.
I have trouble with index.php :
Not Found

HTTP 404 (GET /index.php)

I changed this on .htaccess :
RewriteEngine On
RewriteBase /selfoss

This is my apache2's file :

ServerAdmin webmaster@xxx.net
ServerName selfoss.xxx.net
DocumentRoot /var/www/selfoss

<Directory /var/www/selfoss/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
RedirectMatch ^/$ /index.php
</Directory>

ScriptAlias /cgi-bin/ /chemin/vers/scripts/
<Directory "/chemin/vers/scripts">
AllowOverride All
Options ExecCGI MultiViews SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

LogLevel debug

CustomLog ${APACHE_LOG_DIR}/access.selfoss.log combined
ErrorLog ${APACHE_LOG_DIR}/error.selfoss.log
</VirtualHost>

If I delete the line RedirectMatch, there is a 500 error.

Thank you and sorry for my bad English :D


Complete thread:

 RSS Feed of thread

powered by my little forum