[FLOW3-general] Setup problem
Arnaud BECKER
arnobeck at sdv.fr
Thu Sep 27 14:06:05 CEST 2012
Hello,
I'm trying to install FLOW3 1.1 on a linux which does not allow htaccess. I'm putting all the rewrites in the apache configuration file.
As the RewriteBase is not allowed in this way, I've changed the rewrite rules as follow.
But when I call the vhost URL, I get a 404 not found error from FLOW3.
In the source, I've noticed that the <BASE> href is wrong, it shows : http://localhost/flow3/ shouldn't it be only http://localhost/
How can I fix this ?
Thanks for your help
Arnaud
04 Page Not Found
Sorry, the page you requested was not found.
The technical reason is: No controller could be resolved which would match your request.
# Configuration
SetEnv FLOW3_REWRITEURLS 1
RewriteEngine on
RewriteRule ^/(_Resources/Packages/|robots\.txt|favicon\.ico) - [L]
# Stop rewrite process if the path points to a static file anyway
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -f [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -l [OR]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} -d
RewriteRule ^.* - [L]
# Perform rewriting of persistent private resources
RewriteRule ^/(_Resources/Persistent/[a-z0-9]+/(.+/)?[a-f0-9]{40})/.+(\..+) /$1$3 [L]
# Perform rewriting of persitent resource files
RewriteRule ^/(_Resources/Persistent/.{40})/.+(\..+) /$1$2 [L]
# Make sure that not existing resources don't execute FLOW3
RewriteRule ^/_Resources/.* - [L]
# Continue only if the file/symlink/directory does not exist
RewriteRule /(.*) /index.php
<IfModule mod_negotiation.c>
# prevents Apache's automatic file negotiation, it breaks resource URLs
Options -MultiViews
</IfModule>
<IfModule mod_setenvif.c>
# Redirect authorization header when PHP is running as CGI
SetEnvIfNoCase Authorization "Basic ([a-zA-Z0-9\+/=]+)" REMOTE_AUTHORIZATION=$1
</IfModule>
More information about the FLOW3-general
mailing list