Jump to content

Apache Problem


13 posts in this topic

Recommended Posts

I have installed, macos 10.4.5, i don`t have mamp for mac os x, the problem is the server says, error 403, forbidden, you can`t access this file from server... i don`t know the reason... i will give more details later.....

 

i check all the folders on /username/sites/pagename/ and all it`s write and read (on).

 

any help please..

 

i want to run my personal web file sharing..

Link to comment
Share on other sites

create a file called index.html and chmod it 644. if you can load the page, you have directory browsing disabled in apache.

 

 

great but, how i do, the chmod 644. on the terminal window?

 

Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server?

 

Search your conf/httpd.conf file for this exact string: <Files ~>. If you find it, that's your problem -- that particular <Files> container is malformed. Delete it or replace it with <Files ~ "^\.ht"> and restart your server and things should work as expected.

 

This error appears to be caused by a problem with the version of linuxconf distributed with Redhat 6.x. It may reappear if you use linuxconf again.

 

If you don't find this string,

 

i do this, the apache documents have this....

 

it`s seems that mac os x86 10.4 throuht 10.4.5 have this problem....

 

how i do, get activate, directory browsing ( ON ), on apache in unix?

 

great but, how i do, the chmod 644. on the terminal window?

 

Why do I get a "Forbidden/You don't have permission to access / on this server" message whenever I try to access my server?

 

Search your conf/httpd.conf file for this exact string: <Files ~>. If you find it, that's your problem -- that particular <Files> container is malformed. Delete it or replace it with <Files ~ "^\.ht"> and restart your server and things should work as expected.

 

This error appears to be caused by a problem with the version of linuxconf distributed with Redhat 6.x. It may reappear if you use linuxconf again.

 

If you don't find this string,

 

i do this, the apache documents have this....

 

it`s seems that mac os x86 10.4 throuht 10.4.5 have this problem....

Link to comment
Share on other sites

i saw your comment in domino's thread to getting a websever running. If u are trying to do that phpinfo thing to test php, u need to do what i told u in the httpd.conf file by removing those lines i mentioned.

 

 

i`m going to do that, but i`m going to tell you, jejej , the php test info, it`s working,,, i do the test, so that was confuse me, but i`m going to search very well about the lines!!.. thanks,,,

Link to comment
Share on other sites

- what tutorial did you use?

- where is your public web directory?

- If php is working what was the output with index.html?

 

i do this domino i make a new index.html , and it`s work... i see the problem, my folder that have the webpage, have many files whit the group access ( NO ACCESSS) i think the problem was copy that folder from another computer or something like that.....

 

my question is.. can i granted full access to the all directory, and not file per file,, one a one,, i have to change one by one, the access that`s it`s crazy me.!

 

thanks for the help!

Link to comment
Share on other sites

chmod all directory 755. exe, archives, php*, htm* should be 644. Try this. Instead of manually copying files to the directory to your web folder, use ftp to copy files to the directory.

 

 

cool, i fix the permissions, with captain ftp, and everything is working very well thanks really!..

Link to comment
Share on other sites

 Share

×
×
  • Create New...