404 error page
This is an open discussion with 4 replies, filed under Installation.
Search
It should have created one for you. I think you might need to change the file permissions for the folder where you installed Symphony.
Here is the content of my .htaccess file:
### Symphony 2.2.x ### Options +FollowSymlinks -Indexes <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / ### SECURITY - Protect crucial files RewriteRule ^manifest/(.*)$ - [F] RewriteRule ^workspace/utilities/(.*).xsl$ - [F] RewriteRule ^workspace/pages/(.*).xsl$ - [F] RewriteRule ^(.*).sql$ - [F] RewriteRule (^|/). - [F] ### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico" RewriteCond %{REQUEST_FILENAME} favicon.ico [NC] RewriteRule .* - [S=14] ### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ $1/ [L,R=301] ### URL Correction RewriteRule ^(symphony/)?index.php(/.*/?) $1$2 [NC] ### ADMIN REWRITE RewriteRule ^symphony/?$ index.php?mode=administration&%{QUERY_STRING} [NC,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^symphony(/(.*/?))?$ index.php?symphony-page=$1&mode=administration&%{QUERY_STRING} [NC,L] ### FRONTEND REWRITE - Will ignore files and folders RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*/?)$ index.php?symphony-page=$1&%{QUERY_STRING} [L] </IfModule> ######
I had the same issue.
Appears that rewrite no working ..., and I found the solution at the comment # 49 in this thread:
My installation appeared to go ok. The log file says everything was installed, but I cannot bring up the admin page. On Mac OS X 10.4, I installed symphony in my Applications/MAMP/htdocs folder. There was no htaccess document created, so I created one using megaman's and put it in the symphony folder. I notice there is another symphony folder inside the symphony folder. Locating htacess in either one does not work.
To bring up the admin page, I am typing the URL http://localhost/symphony which doesn't work. Could someone advise on correct URL or what I am doing wrong.
Thanks,
Michael
Looks like you've got one too many folders. The .htaccess
, index.php
, manifest
, symphony
, workspace
etc. should be at http://localhost
level, not in a folder called symphony
. Otherwise your .htaccess
contents will be wrong.
Also be sure that you have hidden files shown in OSX. The .htaccess
file begins with a full stop (.
) so OSX treats this as a hidden file. So there may have been one, but it is not showing.
which doesn't work
Could you be more specific? Do you get an error message?
Create an account or sign in to comment.
Hey,
I've been trying to use this cms for a couple of months but I havent had any luck installing it. When the installation is completed I receive a 404 error page on the admin area. I noticed that symphony doesnt create a .htaccess file so that could be the problem. Any help will be appreciated.
Thanks.