Current time: 12-24-2024, 06:08 AM Hello There, Guest! (LoginRegister)


Post Reply 
liitle .htaccess problem
Author Message
zekquel Offline
Junior Member
*

Posts: 34
Joined: Nov 2007
Reputation: 0
Post: #1
liitle .htaccess problem
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 ?
02-28-2008 07:51 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: liitle .htaccess problem
... have a look in the errer.log of this vhost.
02-28-2008 08:22 AM
Visit this user's website Find all posts by this user Quote this message in a reply
zekquel Offline
Junior Member
*

Posts: 34
Joined: Nov 2007
Reputation: 0
Post: #3
RE: liitle .htaccess problem
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 ?
02-28-2008 09:01 PM
Find all posts by this user Quote this message in a reply
Cube Offline
Member
***

Posts: 740
Joined: Apr 2007
Reputation: 9
Post: #4
RE: liitle .htaccess problem
You should add FileInfo to AllowOverride.
02-28-2008 10:09 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)