View previous topic :: View next topic |
Author |
Message |
Larcen Apprentice

Joined: 21 Mar 2004 Posts: 174
|
Posted: Sat Aug 06, 2005 1:43 pm Post subject: Apache & Rewrite module.. |
|
|
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 |
|
 |
ekutay l33t

Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Sat Aug 06, 2005 2:40 pm Post subject: |
|
|
If the module is loaded, you need to drop someting like in your config file. If you need more information, be more precise about what you are up to.  _________________ -- erol |
|
Back to top |
|
 |
tango Apprentice

Joined: 24 Jan 2005 Posts: 251
|
Posted: Sat Aug 06, 2005 3:29 pm Post subject: |
|
|
if it´s possible, you should open http://localhost/server-info
and look for the mod_rewrite module
tango |
|
Back to top |
|
 |
Larcen Apprentice

Joined: 21 Mar 2004 Posts: 174
|
Posted: Sat Aug 06, 2005 7:12 pm Post subject: |
|
|
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 |
|
 |
ekutay l33t

Joined: 30 Mar 2005 Posts: 636 Location: Berlin
|
Posted: Sat Aug 06, 2005 7:30 pm Post subject: |
|
|
no looks alright, now enjoy rewriting.  _________________ -- erol |
|
Back to top |
|
 |
Larcen Apprentice

Joined: 21 Mar 2004 Posts: 174
|
Posted: Sat Aug 06, 2005 8:01 pm Post subject: |
|
|
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 |
|
 |
|