LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-30-2005, 11:53 AM   #1
zentro
LQ Newbie
 
Registered: Sep 2005
Location: Denmark
Posts: 4

Rep: Reputation: 0
httpd.conf not working: Apache 1.3.27 on SUSE 8.x Options


I'm having a bit of a problem getting Apache to recognise my changes to httpd.conf.

I'm running Apache 1.3.27 on SUSE 8.x (can't remember exactly). Bear with me, I'm a bit of a newbie...

For starters, Apache won't let the directive AllowOverride All stand. I put this in my httpd.conf:
DocumentRoot "/srv/www/htdocs"

####### snip #######

<Directory />
AuthUserFile /etc/httpd/passwd
AuthGroupFile /etc/httpd/group

Options +FollowSymLinks +Multiviews
AllowOverride All
</Directory>

<Directory /srv/www/htdocs>
<IfModule mod_dav.c>
DAV Off
</IfModule>
<Files test.php3>
Order deny,allow
deny from all
allow from localhost
</Files>
</Directory>

####### snip #######

And if I then put some directives in a .htaccess file in a sub directory, the following show up in my log file:

- RewriteEngine not allowed here
- order not allowed here

Of course, depending on which directive I put it.

It seems that the only thing I'm allowed to do in .htaccess is authentication.

I've been searching high and low for a solution to this problem and I've tried a million things. I'm sure it's just a small thing I've missed but I can't find it!

I'm toying with the idea that perhaps Suse is playing tricks on me because it's got so many extra config files all over the place and somewhere something is overriding my settings. I've tried commenting out stuff in some of the config files, to no avail.

Before you ask, I do rememeber to restart Apache every time I change http.conf ("httpd restart"). Also, if I put garbage in my http.conf and restart, Apache does complain which suggests that the file _is_ read.

Please help - I'm desperate!

PS
I'll post my full httpd.conf if you wish.
 
  


Reply



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
apache httpd.conf ilnli Linux - Software 9 01-11-2005 06:58 AM
Apache httpd.conf help BoardinBum Linux - Software 4 12-29-2004 12:59 PM
apache, httpd.conf, mod_perl ziggie216 Linux - Software 1 12-18-2003 12:19 AM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM
apache httpd.conf plisken Linux - Software 1 02-01-2003 02:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:31 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration