ispCP - Board - Support
liitle .htaccess problem - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: liitle .htaccess problem (/thread-2591.html)



liitle .htaccess problem - zekquel - 02-28-2008 07:51 AM

first of all, i searched the forum. i found something kind-of like it, i read it but found no solution.

i am no expert in apache/fcgi

i only code php.

i have my files with the extension .kvm ( php files ):
my .htaccess file looks like this:

AddType application/x-httpd-php .kvm
DirectoryIndex index.kvm

and it dosen't seem to parse the files.

what do you suggest i should do ?


RE: liitle .htaccess problem - joximu - 02-28-2008 08:22 AM

... have a look in the errer.log of this vhost.


RE: liitle .htaccess problem - zekquel - 02-28-2008 09:01 PM

joximu Wrote:... have a look in the errer.log of this vhost.

yes, i saw that DirectoryIndex disabled from Options directive.
then i went to /etc/apache2/sites-enabled/ispcp.conf (smth like that) and i searched for the subdomain where i had the problem..

at <directory /blalbalbla/htdocs> was Options -Indexes.... i erased the minus, restarted apache, and now it dosen't work at all.. when i enter that site it appears to send me the index as a download file, with mime-type: application/x-httpd-php

do you have any idea how i could solve this ?


RE: liitle .htaccess problem - Cube - 02-28-2008 10:09 PM

You should add FileInfo to AllowOverride.