error 500 and download php file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hello for somereason when i execute php files in folder other than the
document root, i get error 500 and the php file is downloaded to my
browser with the 500 error code. I think it could be related to my
modules. or my folder options
LoadModule perl_module modules/
LoadModule cgi_module modules/
LoadModule authz_host_module modules/
LoadModule autoindex_module modules/
LoadModule alias_module modules/
#LoadModule python_module modules/
LoadModule php5_module        modules/
LoadModule mime_module        modules/
LoadModule negotiation_module        modules/
LoadModule userdir_module        modules/
LoadModule dir_module        modules/
LoadModule vhost_alias_module        modules/
LoadModule log_config_module        modules/
LoadModule ssl_module        modules/
LoadModule setenvif_module       modules/

ScriptAlias /testscript "/usr/local/test/public/testscript"
<Directory "/usr/local/test/public/testscript">
    Options Indexes FollowSymLinks MultiViews Includes +ExecCGI
    AllowOverride ALL
    Order allow,deny
    Allow from all
   Options +ExecCGI

Re: error 500 and download php file

got it i had scriptalias instead of alias wrote:
Quoted text here. Click to load it

Site Timeline