|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We're currently working on converting our website to use apache's mod_rewrite module. It appears that the module is running, but I have no idea if it is running properly as all I get with my rewriterule is an internal server error.
We are trying to get /path/to/file.html from URL Here is what I have: RewriteRule URL(.*)$ /index.php?page=$1 Any help you could give me I would appreciate! BTW... Server info: Mac OS X Server 10.1.something with the default Apache install. Last edited by [oR]Kevin : January 15th, 2003 at 01:16 PM. |
|
#2
|
||||
|
||||
|
You need to have "RewriteEngine on" before any rules.
__________________
And you know I mean that. |
|
#3
|
|||
|
|||
|
RewriteEngine is on
I just was posting the RewriteRule as that is all that I can think of that is causing me problems. The only other thing I could think of is that there is an issue with mod_rewrite in the default Apache that came with Mac OS X. |
|
#4
|
||||
|
||||
|
If you put that in .htaccess and get 500 that means php doesn't recognize it, which in turn means mod_rewrite is not installed or not initialized. Don't know if they are faulty with mac thou.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > RewriteRule help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|