.htaccess doesn´t work

Hi,

I have tried to find anyone with the same problem, but no luck so far. Tried to fix the .htacess for about 5h now, without success. 403 forbidden is always the answer, why is it so hard?

#### !!! Change this to the web path (eg: http://www.yourwebsite.com/photos --> /photos) !!!
RewriteBase /web/Zenphoto
####

my webpage is situated like this www.webpage.com/web/Zenphoto/

I have tried every possible combination in the .htaccess-file without result. What is wrong?

Comments

  • The setup program should properly fix the .htaccess file. What does it say when you run setup.php?
  • "Forbidden
    You don't have permission to access /web/Zenphoto/zp-core/setup.php on this server."

    I have tried a lot of variations in .htaccess, but none of them works.

    Like this:

    RewriteBase /Zenphoto
    RewriteBase /web/Zenphoto
    RewriteBase /c/web/Zenphoto
    RewriteBase /root/c/web/Zenphoto

    and so on..
  • acrylian Administrator, Developer
    Then you probably need to set the permissions to 777 manually via your ftp program.
  • I have of course done that already, both on the .htaccess-file itself and alla other files and the folder, but that doesn´t helt either.
  • Did you apply the 0777 permissions to the zp-core folder? It is that folder and its contents that your server is not allowing access to (given the error message above.) Changing the rewrite base will be of no help in fixing that.

    If you change the permissions and still cannot run the setup program you will need to ask your service provider for help.
  • Yep, as i wrote earlier i added access 0777 to all files and folders in the Zenphoto-folder. Even though that is not necessary, but i was desperate! ;)

    Service provider? That is me. I run the server on a ReadyNAS NV+.
  • Well, I guess you are on your own. Anyway, the problem you need to fix is the permissions to allow the setup.php script to run. Good luck.
Sign In or Register to comment.