I have made saved a file ".htaccess" inside my public_html folder with the following line:
AddType application/mono .aspx .ascx .asax .ashx .config .cs .asmx .axd
Notice there is no dot before "mono" and dots before all the file type suffixes, although I've tried different spellings.
I get this error when I run the page "dynepage.aspx" inside the cgi-bin directory:
500 Internal Server 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@sifaka888.x10hosting.com 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.
Apache Server at sifaka888.x10hosting.com Port 80
I get a different error message when I run it from another folder.
Am I allowed to have multiple .htaccess files?
How can I view .htaccess files? They don't show up on my c-panel directory.
Thanks again,
Matt
Edit:
T2, Sorry about the stutter post! I'm still a little murky about the whole .htaccess use. According to an Apache tutorial they can slow our server down. So, maybe I should not use 'em? Also is it possible that .htaccess files are not currently allowed on my account? That would explain why they are not showing up on the directory my c-panel is showing me.
Thanks