LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 02-04-2005, 11:34 AM   #1
MDFH
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian3.0
Posts: 2

Rep: Reputation: 0
Question (Debian)DirectoryIndex not allowed here


Recently I've changed Red Hat Linux 7.3 into Debian 3.0.
and almost everying is new to me.

I use 'aptitude' to install every package,
and what I've done is to get apache2,php4,mysql installed.

but I found that every directory that contains .htaccess file will show
(500)Internal Server Error

and this is the log:

[Sat Feb 05 01:29:57 2005] [alert] [client **.**.**.**] /home/www/public_html/
hdsmysqladmin/.htaccess: Options not allowed here

hdsmysqladmin is a link to phpmyadmin directory rather than the default name.

where should I modify in apache2.conf or else?

and this is my .htaccess file in /home/www/public_html/
hdsmysqladmin/
---------------------------------
DirectoryIndex index.php
Options +FollowSymLinks

Order allow,deny
Allow from all

-----------------------------

thanks!

Last edited by MDFH; 02-04-2005 at 11:38 AM.
 
Old 02-04-2005, 04:38 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
In your httpd.conf you need to allow the use of .htaccess files and specify what they can contain
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method Not Allowed: The requested method POST is not allowed for the URL /writedhcp.p WiWa Linux - Networking 15 01-06-2011 01:20 PM
Problem with DirectoryIndex and PHP not processing t3kn0lu5t Debian 5 12-02-2004 12:33 PM
Graphical Apache configuration under RedHat 9.0 fails to include DirectoryIndex? bastianmk Red Hat 0 03-02-2004 12:43 AM
apache 1.3.29 directoryindex and chmod axion0917 Linux - Software 1 11-30-2003 01:01 PM
Apache DirectoryIndex problem jester_69 Linux - General 1 07-14-2002 12:39 PM


All times are GMT -5. The time now is 02:12 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration