How to access the admin pages?

Author Message

Theo Molenaar

Saturday 13 December 2003 8:33:23 am

Maybe a stupid question, but how do I access the admin pages? I just installed eZ 3.2.3 and the setup wizzard told me to access http://www.mysite.com/index.php/admin, but I get a 404 error. The normal access works fine.

Mike Borozdin

Saturday 13 December 2003 11:36:47 am

You should use this:
http://www.mysite.com/index.php/{site_path}_admin
{site_path} is the path to your site, you must ave specified it when isntalling EZ, if you didn't change it, it can be:
Corporate website: index.php/corporate_admin
Gallery: index.php/gallery_admin
Bookshop: index.php/bookshop_admin
News: index.php/news_admin
Plain: index.php/plain_admin
Personal: index.php/mysite_admin

Theo Molenaar

Sunday 14 December 2003 10:31:42 am

Doesn't work. Again a 404 error. Also all the links on the homepage are also not working. E.g. a link refers to http://www.mysite.com/index.php/content/view/full/48, but again this gives a 404 error.

BTW: the setup wizzard ends with links to the admin page and the user page. These links both don't work because they refer to http://www.mysite.com/index.php/news and http://www.mysite.com/index.php/news_admin. I previously said that the user page works, but I come to this via http://www.mysite.com/index.php.

I did a reinstallation to check if i missed someting, but again I'm getting the same problem. Who can help?

It seems that the webserver is looking for a directory called http://www.mysite.com/index.php/news_admin and that the part after 'index.php' is not parsed as extra info. Is this a setting in the webserver environment? I am running Linux Redhat 8.0.

Theo Molenaar

Monday 15 December 2003 10:47:12 am

I am getting further (I think). It seems that the rewriteengine doesn't work properly, or that the .htaccess file doesn't have the proper syntax. I haven't modified the .htaccess file, I just copied it from .htaccess_root as the install guide tells.

httpd.conf:
LoadModule rewrite_module modules/mod_rewrite.so

.htaccess:
<FilesMatch ".">
order allow,deny
deny from all
</FilesMatch>

<FilesMatch "(index\.php|\.(gif|jpe?g|png|css|js|html))$">
order allow,deny
allow from all
</FilesMatch>

RewriteEngine On
RewriteRule !\.(gif|jpe?g|png|css|js|html)$ index.php

DirectoryIndex index.php

Who can help?

Theo Molenaar

Monday 15 December 2003 11:48:35 am

Found it. It is NOT the rewrite enigine, but the PATH_INFO variable. See post
http://ez.no/developer/ez_publish_3/forum/install_configuration/note_apache_2043_and_path_info__1
for full details.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.