Page 1 of 1

[SOLVED] httpd.conf location

Posted: Fri Aug 19, 2005 5:35 pm
by sk8erh4x0r
where is the http.conf file usually located in a file manager?

Posted: Fri Aug 19, 2005 5:39 pm
by feyd
like in a web host control panel? usually you don't have access to it, other than maybe reading it, but even then, very unlikely..

Posted: Fri Aug 19, 2005 5:40 pm
by sk8erh4x0r
i need to add a line to it

Posted: Fri Aug 19, 2005 5:42 pm
by feyd
what needs adding?

If mime related, most web host control panels offer a mime settings page that allows you to customize the mime handlings of files. But that depends on the host, control panel and several other factors.

Posted: Fri Aug 19, 2005 5:43 pm
by sk8erh4x0r
yea, i've been looking around the control panel for it. I'm adding this:

Code: Select all

AddType application/x-httpd-php-source .phps

Posted: Fri Aug 19, 2005 5:47 pm
by feyd
which control panel?

Posted: Fri Aug 19, 2005 5:48 pm
by sk8erh4x0r
Ensim Pro 4.0.2-7

Posted: Fri Aug 19, 2005 6:07 pm
by feyd
from some quick searches and looking around, it appears only the windows version allows mime changes.

Posted: Fri Aug 19, 2005 6:11 pm
by sk8erh4x0r
turns out my control panel doesn't allow me to edit that file. It's solved though

I added it to the .htaccess file in the http directory :D