x220v Posted September 1, 2006 Share Posted September 1, 2006 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 More sharing options...
asap18 Posted September 1, 2006 Share Posted September 1, 2006 i think you need to chmod 777 the directory and files. Just asking, is it a php program? Link to comment Share on other sites More sharing options...
x220v Posted September 1, 2006 Author Share Posted September 1, 2006 i think you need to chmod 777 the directory and files. Just asking, is it a php program? i was loking, that`s seems to be a windows program... - can i put the right chmod direct from the mac? Link to comment Share on other sites More sharing options...
other Posted September 1, 2006 Share Posted September 1, 2006 Thread Moved. Link to comment Share on other sites More sharing options...
domino Posted September 1, 2006 Share Posted September 1, 2006 create a file called index.html and chmod it 644. if you can load the page, you have directory browsing disabled in apache. Link to comment Share on other sites More sharing options...
x220v Posted September 1, 2006 Author Share Posted September 1, 2006 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 More sharing options...
asap18 Posted September 1, 2006 Share Posted September 1, 2006 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. Link to comment Share on other sites More sharing options...
x220v Posted September 1, 2006 Author Share Posted September 1, 2006 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 More sharing options...
domino Posted September 1, 2006 Share Posted September 1, 2006 - what tutorial did you use? - where is your public web directory? - If php is working what was the output with index.html? Link to comment Share on other sites More sharing options...
x220v Posted September 1, 2006 Author Share Posted September 1, 2006 - 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 More sharing options...
domino Posted September 1, 2006 Share Posted September 1, 2006 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. Link to comment Share on other sites More sharing options...
x220v Posted September 1, 2006 Author Share Posted September 1, 2006 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 More sharing options...
domino Posted September 2, 2006 Share Posted September 2, 2006 Great! Link to comment Share on other sites More sharing options...
Recommended Posts