Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I moved a Zen Cart installation from a different server to a new one on Rackspace running Redhat Enterprise Linux 5.

I had everything up and running until today. My most recent actions to this particular set of files involve changing the owner of the files to a newly created group. My user is still the owner.

I am now receiving a file does not exist error on some files and directories that I can confirm do in fact exist. I can't navigate to the directory or any file underneath it in the web browser.

When I navigate to them in FF i get:

Not Found
The requested URL was not found on this server.

My error logs dont show any difference in the file being requested.

Any ideas as to why this would happen? Could changing the group have affected this.

Thanks in advance

share|improve this question
    
The webserver probably isn't in the new group. Put it back. –  Nerdling Apr 29 '10 at 19:20
    
would adding the server mean adding "apache" to the group? –  KThompson Apr 29 '10 at 19:31

3 Answers 3

up vote 0 down vote accepted

Check your log files to see what the server is actually attempting to pull. I'd be willing to bet that this is either an issue with file permissions, or something in the servers config, related to document roots or some such. Realistically though we really need more information, and maybe a few examples, etc...

share|improve this answer
    
I have Zen Cart installations in 3 subdirectories under the web root. 1 works fine. 1 works but not the admin directory under that. 1 doesn't work at all. They all have the same owners and permissions. Nothing stands out to me in the log files but I'm still looking –  KThompson Apr 29 '10 at 20:10
    
And all of the files have the same owner:group, and permissions settings? Also, on the site which doesn't work at all, try requesting a specific file - even if you have to create a basic html file - and check the access logs to see what it returns for that attempt. Post that here, and I'll see if I can help further. –  Ali Chehab Apr 29 '10 at 22:42
    
When I create a test.html file. I can pull that up no problem. So it seems its a php related issue somehow? Any ideas? –  KThompson Apr 30 '10 at 17:59

This happens in IIS if you have a trailing backslash in the target directory the website maps to. Might be worth checking in your Apache as well.

share|improve this answer
    
Actually I have Zen Cart installations in 3 subdirectories under the web root. 1 works fine. 1 works but not the admin directory under that. 1 doesn't work at all. –  KThompson Apr 29 '10 at 20:07

Have you checked the case differences between the requested file and the file on disk? Don't forget that under most file systems used by Linux, Hello.doc does not equal hello.doc.

share|improve this answer
    
yes there are no case differences. I worked perfectly fine before. I have made no changes to any files since the last time I accessed them. and I believe I am the only one. –  KThompson Apr 29 '10 at 20:05

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.