Forums / Install & configuration / Newbie questions...

Newbie questions...

Author Message

Ben Sytko

Thursday 12 June 2003 1:29:48 pm

If I want eZ publish to display the user site when I go to my domain, do I to install eZ publish into the main httproot directory or can I throw it in a sub-directory (i.e. /home/username/www vs. /home/username/www/ez)?

Also, when I installed eZ publish 3 the first time, I couldn't edit a site.ini.append.php file in the settings/override/ directory. I'm not sure if I just installed it wrong, or what. Another question is I couldn't delete the "Administrative User" that has the username admin and password publish that the installer told me. Isn't this some kind of security hazard? Again, is this supposed to be this way or did I just screw up?

System:
http://www.everythingdm.com/phpinfo.php
eZ publish 3.1.0-2
MySQL

Just let me know if you need any more infomation to help me out. I'm trying to get all these questions answered so I don't have to keep installing eZ publish 3. Thanks

Jo Henrik Endrerud

Friday 13 June 2003 2:22:03 am

If you have to use the main directory of the httproot or in can use a sub-directory is all a matter of how the vortual host of Apache is configured (check Apache's documentation). You also need to configure the user site access to go directly to the domain (chech http://ez.no/developer/ez_publish_3/documentation/ez_publish_3/terminology_basics/configure_site_access or http://ez.no/sdk/doc/view/site_access/)

If you can't edit your site.ini.append.php, you probably have some problems with permissions. Type 'chmod +w site.ini.append.php' as root.

You shouldn't remove the admin user, but you should change the password of the admin user. Edit the user to do this.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Ben Sytko

Friday 13 June 2003 9:00:42 am

Thanks for your help. I got the CMS set up and working, but to get my domain (www.domain.com) to point to the user site I have to:

1. Use a Apache .htaccess file to point where?
2. Edit the /settings/override/user/site.ini.append.php file to point www.mydomain.com to the user site?

Is this right? Like I said before...I would like to get all the details straight before working this out so I don't have to keep uninstalling and reinstalling eZ publish in case I mess up. Thanks for your help.

Ben Sytko

Friday 13 June 2003 6:48:35 pm

I got www.mydomain.com to point to the user site by editing the settings/override/site.ini.append.php file and adding the lines that were in the links you gave me. But I cannot seem to get the admin section now to do this. It seems to have "disapperaed". I will wait a day and hope it reappears but I get an Kernel error #20 when this happens. Another thing, do I need to make the sub-domains in my web site control panel or will eZ publish take care of that (ex. http://admin.mydomain.com)? Thanks for your help.

Jo Henrik Endrerud

Saturday 14 June 2003 12:38:16 pm

eZ publish has no access to alter Apache's configuration. You do therefore need to set up all the domains (and sub-domains) you want in Apache's configuration. This is probably also the reason why your admin site has "disapeared"

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Ben Sytko

Saturday 14 June 2003 6:01:43 pm

Well it appears that the admin section is gone alltogether. Even when I go to www.mydomain.com/ez/index.php/admin I get a Kernel error #20. I will try to look in all the config files to see if any options look like there wrong, but do you know why this would happen? Could just editing the settings/override/site.ini.append.php file cause the admin section to disappear?