Koozali.org: home of the SME Server

Can't access index.php

Offline leonp

  • **
  • 43
  • +0/-0
Can't access index.php
« on: June 25, 2020, 10:46:21 AM »
I am ashamed to ask, but one whole day searches - no result...:-(

My old html only WEB site worked fine with SME9 while sitting in the /home/e-smith/files/ibays/web/html directory.
Now, I have the new site design using PHP. I copied it into "test" directory /home/e-smith/files/ibays/web/html/test.
Attempt to access it produce errors in /var/log/http/error_log:
client denied by server configuration: /home/e-smith/files/ibays/web/html/test/index.php
Moving the PHP to /home/e-smith/files/ibays/web/html/ also does not help.

I understand that this is something trivial, but I didn't find any instructions how to overcome this.
Many many thanks for a help.
« Last Edit: June 25, 2020, 10:48:50 AM by leonp »

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Can't access index.php
« Reply #1 on: June 25, 2020, 11:00:08 AM »
Not very easy to tell with the information provided.

Check file permissions?

To update all the file and dir permission you can run this:

Code: [Select]
signal-event ibay-modify web
You can also do it from the server manager.

Just Click Modify, check the settings are correct, and then Save.

Do you have this set to enabled?

Quote
Execution of dynamic content (CGI, PHP, SSI)

Show us:

Code: [Select]
db accounts show web
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline leonp

  • **
  • 43
  • +0/-0
Re: Can't access index.php
« Reply #2 on: June 25, 2020, 11:07:57 AM »
Not in vain I was ashamed.
CGI-BIN wasn't enabled in ibays setup.
THANKS!!!!!!!!!!!!!

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Can't access index.php
« Reply #3 on: June 25, 2020, 04:47:33 PM »
No worries. We have all done it :-)
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation