Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache & Rewrite module..
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sat Aug 06, 2005 1:43 pm    Post subject: Apache & Rewrite module.. Reply with quote

Since the default config has the load mod_rewrite already there, and when apache2 starts I get no errors, shouldn't mod_rewrite be configured and working correctly? Or, is there something else, somewhere else, that has to be done for it to be configured/enabled?
Back to top
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Sat Aug 06, 2005 2:40 pm    Post subject: Reply with quote

If the module is loaded, you need to drop someting like
Code:
RewriteEngine On
in your config file. If you need more information, be more precise about what you are up to. ;)
_________________
-- erol
Back to top
View user's profile Send private message
tango
Apprentice
Apprentice


Joined: 24 Jan 2005
Posts: 251

PostPosted: Sat Aug 06, 2005 3:29 pm    Post subject: Reply with quote

if it´s possible, you should open http://localhost/server-info

and look for the mod_rewrite module :wink:

tango
Back to top
View user's profile Send private message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sat Aug 06, 2005 7:12 pm    Post subject: Reply with quote

According to phpinfo() it's loaded, and as for RewriteEngine on I put it in the vhost.conf file for the various vhosts, does it need to be in the main apache2.conf somewhere as well?

Code:
Module Name: mod_rewrite.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge Directory Configs, Create Server Config, Merge Server Configs
Request Phase Participation: Translate Path, Check Type, Fixups
Module Directives:
RewriteEngine - On or Off to enable or disable (default) the whole rewriting engine
RewriteOptions - List of option strings to set
RewriteBase - the base URL of the per-directory context
RewriteCond - an input string and a to be applied regexp-pattern
RewriteRule - an URL-applied regexp-pattern and a substitution URL
RewriteMap - a mapname and a filename
RewriteLock - the filename of a lockfile used for inter-process synchronization
RewriteLog - the filename of the rewriting logfile
RewriteLogLevel - the level of the rewriting logfile verbosity (0=none, 1=std, .., 9=max)
Current Configuration:
RewriteEngine On
<VirtualHost _default_:443>
  RewriteEngine On
  RewriteOptions inherit
</VirtualHost>
<VirtualHost *:80>
  RewriteEngine on
</Directory>
Back to top
View user's profile Send private message
ekutay
l33t
l33t


Joined: 30 Mar 2005
Posts: 636
Location: Berlin

PostPosted: Sat Aug 06, 2005 7:30 pm    Post subject: Reply with quote

no looks alright, now enjoy rewriting. ;)
_________________
-- erol
Back to top
View user's profile Send private message
Larcen
Apprentice
Apprentice


Joined: 21 Mar 2004
Posts: 174

PostPosted: Sat Aug 06, 2005 8:01 pm    Post subject: Reply with quote

Guess the 'GoogleTap' hacks I've been trying to PHP Nuke don't work then, not even the 'official rewrite tester' heh, anyway, wasn't important anyway. Thanks guys.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum