|
Posted by J.O. Aho on 12/03/05 15:27
Disco Octopus wrote:
> OK. I got it sorted....
>
> RewriteEngine On
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule ^/events/(.*).html$ /event.php?code=$1
>
> Now I face another problem (In which I will also post to
> alt.www.webmaster)...
>
> On my dev machine (Windows XP) I run Apache, and I put this above code in
> my httpd.conf file. This works nicley. However, my host does not allow
> access to the httpd.conf file, and therefore I would expect that this same
> code can go in my .htaccess file on the server.
> Wel, It just doesnt work. Any ideas?
Think the htaccess has a limited amount of things it can do, a fast look at
apache.org lists the following:
AccessFileName
AllowOverride
Options
AddHandler
SetHandler
AuthType
AuthName
AuthUserFile
AuthGroupFile
Require
I do suggest you take contact with the webhost on Monday and ask if they can't
help you with the rule. Some may do it, others may charge you some extra and
most will deny.
//Aho
PS. removed that follow-up as I'm not subscribing the other ng.
Navigation:
[Reply to this message]
|