After changing directory permission, page is showing error

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
fahim
Forum Commoner
Posts: 36
Joined: Sun Jan 05, 2014 7:06 pm
Location: Dhaka, Bangladesh

After changing directory permission, page is showing error

Post 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.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: After changing directory permission, page is showing err

Post by requinix »

More information about this error may be available in the server error log.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: After changing directory permission, page is showing err

Post 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.
(#10850)
fahim
Forum Commoner
Posts: 36
Joined: Sun Jan 05, 2014 7:06 pm
Location: Dhaka, Bangladesh

Re: After changing directory permission, page is showing err

Post 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]
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: After changing directory permission, page is showing err

Post 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?
(#10850)
fahim
Forum Commoner
Posts: 36
Joined: Sun Jan 05, 2014 7:06 pm
Location: Dhaka, Bangladesh

Re: After changing directory permission, page is showing err

Post 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.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: After changing directory permission, page is showing err

Post 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).
(#10850)
fahim
Forum Commoner
Posts: 36
Joined: Sun Jan 05, 2014 7:06 pm
Location: Dhaka, Bangladesh

Re: After changing directory permission, page is showing err

Post by fahim »

Many thanks for your help.

I'm trying to close this thread,but not getting the option. Just where is that ? :(
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: After changing directory permission, page is showing err

Post 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 ;)
Post Reply