Current time: 11-25-2024, 12:05 PM Hello There, Guest! (LoginRegister)


Post Reply 
problems with mod_rewrite
Author Message
hendry Offline
Junior Member
*

Posts: 77
Joined: Jul 2007
Reputation: 0
Post: #1
problems with mod_rewrite
It looks like I have some problemens with the mod_rewrite of Apache 2.

When trying to check if it's running i use the command:

apache2 -M

I receive the error: apache2: bad user name ${APACHE_RUN_USER}

When checking /etc/apache2/envvars I have

export APACHE_RUN_USER=www-data
export APACHE_RUN_GROUP=www-data

Any ideas if this is a problem for the rewrite module not working?
03-15-2011 06:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: problems with mod_rewrite
There's no problem at all about this error. You should be using "apache2ctl" instead of "apache2", and you'll get the expected results (this is the proper debian way).
03-20-2011 04:33 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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