PDA

View Full Version : Basic hint?


Jussuff
6th of February 2004 (Fri), 12:01
Since my installation of EE was quite mixted up, I have done a total new setup (1.5 beta 5). As far as I have checked almost everything seems to work fine (except the ftp server setup gives an error message when trying to upload the test images. Haven't found my mistake yet.).

But here is my question: As the EE folder is NOT the root of the website, I redirected the website URL to the EE folder (http://www.mywebsite.com/ ----> mywebsite/gallery/).
Without the redirection calling the websites' URL you will get "Forbidden - You don't have permission to access / on this server" message.

After this redirection my EE installation does not work propper anymore. How did you set this up?

Sorry, for asking this newbie topic, but I need your experience!

Pekka
7th of February 2004 (Sat), 11:40
This sounds like php.ini include_path problem (see top lines of fetchsettings.php), also environment variables may be fooled by symbolic link, in which case form target names must be hard-coded.

Jussuff
7th of February 2004 (Sat), 13:50
This sounds like php.ini include_path problem (see top lines of fetchsettings.php), also environment variables may be fooled by symbolic link, in which case form target names must be hard-coded.


Pekka, what is your suggestion? Should I try to investigate this problem or should I wait until "RC-version" will be available? What do you think about it? As I am far away from understanding this programming things, it might be solved by new version. Is this right?

Regards, J.

Pekka
7th of February 2004 (Sat), 14:50
This is web server (including PHP) configuration problem, not EE problem. In most of the sites people set EE in http://www.site.com/gallery or similar folder and that must work without any problem. Just like it works on this site.

It may be that you are on a virtual server which does transparent redirections without you knowing it - you should really place EE in /gallery without any redirection and then start solving why it does not respond from there, with you system admin/support. Simplify the situation.

I would help to understand the problem if you'd clarify your error info a bit:

You said: almost everything seems to work fine

So you did get into EE?

...and then you wrote: calling the websites' URL you will get "Forbidden - You don't have permission to access / on this server"

That is not EE's error message, it comes from server software. Where did this happen, in input folder or in index? If it did work ok, was this change sudden? Did you password-protect any folders? Is index.php set as autorun index file? Can you run any php file from that folder (try phpinfo.php from input folder, it's the simplest php code there is) ?

....and you say: After this redirection my EE installation does not work propper anymore

So, did it work before redirection partially or at all?

Jussuff
8th of February 2004 (Sun), 05:04
This is web server (including PHP) configuration problem, not EE problem. In most of the sites people set EE in http://www.site.com/gallery or similar folder and that must work without any problem. Just like it works on this site.

It may be that you are on a virtual server which does transparent redirections without you knowing it - you should really place EE in /gallery without any redirection and then start solving why it does not respond from there, with you system admin/support. Simplify the situation.

Jussuff wrote:
I installed exactly this way and put EE in "mydomain/gallery" folder. But how can EE start by calling just the URL (www.mydomain.com)? When I look at my root directory, there is NO file (like index.php or index.html) in it just several subdirectories.

I would help to understand the problem if you'd clarify your error info a bit:

You said: almost everything seems to work fine

So you did get into EE?

Jussuff wrote:
I do get into EE when I call "www.mydomain.com/gallery/".

...and then you wrote: calling the websites' URL you will get "Forbidden - You don't have permission to access / on this server"

Calling just "www.mydomain.com" is causes the mentioned forbidden message. I assume that may be caused by a missing "index.*" file in the root directory. Is that possible?
That is not EE's error message, it comes from server software. Where did this happen, in input folder or in index? If it did work ok, was this change sudden? Did you password-protect any folders? Is index.php set as autorun index file? Can you run any php file from that folder (try phpinfo.php from input folder, it's the simplest php code there is) ?

I did try this and got a detailled page with all php/server settings.
....and you say: After this redirection my EE installation does not work propper anymore

So, did it work before redirection partially or at all?

Jussuff wrote:
When I make a redirection from "www.mydomain.com" to "www.mydomain.com/gallery/" EE will run without any problems. If you then call "www.mydomain.com" EE will show up and the visitor can go through the exihitions. BUT at the same time I have no chance to go to the administration area of EE anymore for uploading or maintenance! And I think this is caused through the redirection. --- To go ahead with the further setting up EE I have no redirection installed. But this means that EE can only be visited by calling "www.mydomain.com/gallery/".


Does this information help a little bit to clearify my situation?