Page 1 of 1

After changing directory permission, page is showing error

Posted: Wed May 14, 2014 11:07 pm
by fahim
Hi experts,

I'm trying to install an application based on PHP and MySQL on my webserver. Problem is when I've changed the directory permission to 777. The sirectory showing the following error
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mfinfotec.biz and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Again, when I reverse the directory permission to 755, the page is completely blank.

What is the problem? I think this is a problem about connecting to Apache web server. How can I overcvome this problem? Please help guys.

Thanks in advance.

Re: After changing directory permission, page is showing err

Posted: Thu May 15, 2014 4:11 am
by requinix
More information about this error may be available in the server error log.

Re: After changing directory permission, page is showing err

Posted: Thu May 15, 2014 10:20 pm
by Christopher
Yeah, the logs will probably tell you exactly what the problem is. You don't tell us what the directory is, or who the owner is. That would help in knowing how/why it is being accessed.

Re: After changing directory permission, page is showing err

Posted: Sat May 17, 2014 7:29 am
by fahim
Thanks for your reply. Here is the error log for more info.

[text][Sat May 17 18:25:46 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/404.shtml, referer: http://mfinfotec.biz/cpanel
[Sat May 17 18:25:46 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/404.shtml, referer: http://mfinfotec.biz/cpanel
[Sat May 17 18:25:46 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/404.shtml, referer: http://mfinfotec.biz/cpanel
[Sat May 17 18:25:32 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/404.shtml
[Sat May 17 18:25:32 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/favicon.ico
[Sat May 17 18:25:30 2014] [error] [client 180.234.183.115] File does not exist: /home/mfinfote/public_html/500.shtml
[Sat May 17 18:25:30 2014] [error] [client 180.234.183.115] SoftException in Application.cpp:629: Directory "/home/mfinfote/public_html/invoiceing" is writeable by group[/text]

Re: After changing directory permission, page is showing err

Posted: Sat May 17, 2014 1:30 pm
by Christopher
It looks like your are using FastCGI or similar -- and Apache won’t allow a public directory to be writable by anyone. It is a security constraint, and probably a good one. Why do you need that directory to be 777?

Re: After changing directory permission, page is showing err

Posted: Sat May 17, 2014 10:10 pm
by fahim
Thanks for your reply. Actually I'm trying to install Simple Invoices on my server. According to their installation procedure I've change the directory permission to 777. Please check the insturctions here http://www.simpleinvoices.org/install.

I've successdully completed all the steps in the installation manual, except the last one regarding changing permission to 777. I'm just stuck there. Would you please give me a suggestion, how can I overcome this problem?

Thanks in advance.

Re: After changing directory permission, page is showing err

Posted: Mon May 19, 2014 12:30 am
by Christopher
I don't know that you can overcome this problem with the web server your are using. Perhaps try using a different webs server (e.g., mod_php instead of fastcgi).

Re: After changing directory permission, page is showing err

Posted: Fri Apr 17, 2015 9:52 pm
by fahim
Many thanks for your help.

I'm trying to close this thread,but not getting the option. Just where is that ? :(

Re: After changing directory permission, page is showing err

Posted: Sat Apr 18, 2015 12:22 am
by requinix
There is no "solved" thing. If you want you can just let us know.

On that note, it's been almost a year. We kinda figured you had it solved by now ;)