You are not logged in.

#1 2015-05-20 14:25:55

sosobserve
Member
Registered: 2015-05-20
Posts: 2

Apache 403 Error

Dear,
I heavily suffer with a problem regarding my webserver:

As usual I work there with two directories - ".../.../htdocs/" containing "index.html" & others and ".../.../cgi/bin/" containing the cgi-scripts.

The problem:
I can correctly open the "index.html" with a browser and I get prompted for a login due to .htaccess.
When selecting one of the links that point to a corresponding script in the ".../.../cgi-bin" I get the error screen saying "Assess forbidden!" 403

I have tried a lot of things already. However I seem to be unable to solve the problem.
Actually I suspect that one if the entries in the "httpd.conf" is wrong or missing. What I wonder is the fact, that htacces works correctly in ".../.../htdocs" but not in ".../.../cgi-bin".
I of course verified that the file ".htaccess" is present in both directories.

Any hint is welcome - thank you

Last edited by sosobserve (2015-05-20 14:28:37)

Offline

#2 2015-05-21 17:02:54

sosobserve
Member
Registered: 2015-05-20
Posts: 2

Re: Apache 403 Error

Found it - at last!

Reason was an insufficient relative path at the link-href in the /htdocs/-html-files.

I have no clue, why this creates a "forbidden" message instead of a "not found".

Offline

Board footer

Powered by FluxBB