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

I have uploaded a folder with php scripts and they run only when they are in the webroot directory,Everytime i try to execute php script in some internal dir,i get internal server error,even if it works in the parent directory

EDIT:So,i it's apache 2 server,nothing is logged in my error log about the errors in the internal directory , permissions for php file and for the direcory are


-rw-r--r--    drwxrwxr-x

share|improve this question
    
We need more information. Which Webserver are you using. What gets logged in your webserver's error log when this happens. We could also do with seeing the relevant parts of your webserver config. –  Iain Mar 19 '11 at 13:56
    
File permissions would be nice as well. –  TheLQ Mar 19 '11 at 13:59
    
ok .............................. –  a44 Mar 19 '11 at 14:18

1 Answer 1

Check your vhosts apache confs (if you're using apache) and .htaccess file in the internal directory (may be some syntax error in those .htaccess)

share|improve this answer

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.