mod_rewrite is definitely not loaded. Are you sure that the config file you 
posted is the one really loaded by your Apache server ?

Would it be possible that the administrator uses another configuration file ? 

If you execute 
ps -ef | grep httpd

can you make out if there is a -f option on the command line of httpd?

What happens if you execute:
[ -f /etc/httpd/run/httpd.pid ] && ps -p `cat /etc/httpd/run/httpd.pid` -o 
stime,args || echo "No PID file"

Does the start time of the Apache process reported by the above command 
coincide with the creation date of the file /etc/httpd/run/httpd.pid?

Why don't you just talk to your administrator?

-ascs

-----Original Message-----
From: Paulo J. Matos [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 19, 2006 11:21 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] mod rewrite not working

Here's my config file in case someone might want to take a look:


On 18/04/06, Boyle Owen <[EMAIL PROTECTED]> wrote:
> > -----Original Message-----
> > From: Paulo J. Matos [mailto:[EMAIL PROTECTED]
> > Sent: Dienstag, 18. April 2006 14:52
> > To: users@httpd.apache.org
> > Subject: [EMAIL PROTECTED] mod rewrite not working
> >
> > Hi all,
> >
> > My server is running version 2.0.49 and it has the LoadModule for 
> > mod_rewrite in its config file but when I had .htaccess with:
> > RewriteEngine On
> > RewriteRule ^(.*)$ http://localhost:8080/$1
> >
> > I get the following in the log:
> > [Tue Apr 18 12:41:02 2006] [alert] [client 146.193.36.49] 
> > /home/pocm/public_html
> > /schemept/.htaccess: Invalid command 'RewriteEngine', perhaps 
> > mis-spelled or def ined by a module not included in the server 
> > configuration
>
> mod_rewrite is definately not loaded. There must be something wrong with your 
> LoadModule line - is the path correct? Is it contained in a conditional block 
> (eg, IfDefine)?
>

It seems so but I have the following line in /etc/httpd/conf/httpd.conf:
LoadModule rewrite_module modules/mod_rewrite.so Not wrapped at all in a 
conditional block.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to