| | |||||
| ||||||||
| Web Hosting Discussion Hosting topics including DNS, control panels, servers, choosing a host, support. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| Ex-President Join Date: May 2006 Location: Mount Joy, PA
Posts: 2,652
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Need Help With Server Issue Maybe it's not a server issue, not sure exactly, but I'm running into some serious problems and need some help. The problem is I just installed a script, 99% of it works perfectly except when you click on one section, it brings back a 404. I checked and the links are completely accurate, so the file exists exactly where the anchor is telling it to go. I also tried to install a mod, created a new subdirectory and uploaded it. Typed in domain.com/script/mod/install.php and it's giving a 404.. Even though the file exists in the exact spot. It seems that any new subdirectory of domain.com/script/ I create returns a 404. ????: NamePros.com http://www.namepros.com/web-hosting-discussion/254868-need-help-with-server-issue.html I thought maybe it was the .htaccess file, so I renamed it just to test if that would fix the problem... it didn't. So basically my question is, what would be causing directories and files that exist, to be returning a 404 when trying to access them?
Last edited by slipxaway; 11-06-2006 at 12:20 AM.
|
| |
| | THREAD STARTER #3 (permalink) |
| Ex-President Join Date: May 2006 Location: Mount Joy, PA
Posts: 2,652
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Ah hah! Thanks for the hint. Hehe.. Not too experienced with servers and all that stuff, didn't think to check the error log. The only error I was seeing was "warning, your files are writable by others." or something along those lines, so I assumed the server wasn't happy about the file permissions... Changed them from 777 to 755 and it seems to be working fine. Hopefully the script doesn't funk up because of it. Thanks again for the help, I've been scratching my head on this one for over a day now, searching through script files, .htaccess and all I had to do was check the error log, haha. Now I feel rather stupid. Lesson learned though ![]() ????: NamePros.com http://www.namepros.com/showthread.php?t=254868 THanks! |
| |
| | #4 (permalink) |
| Senior Member Join Date: Jul 2004 Location: I ♥ Business Law
Posts: 3,082
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Yep, don't ever use CHMOD 777, it's not only disabled for security purposes by hosts running PHPSuexec, but also can open your site for easy hacking. Usually, 644, 600 or even 400 is sufficient for any script that does not need write permissions. Since you're a PolurNET customer, this post may help you: http://forums.polurnet.com/index.php?showtopic=341 |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |