Re: mod_rewrite in htaccess
"Joost Wilbrink" <[email protected]> Thu, 14 Aug 2003 21:03:17 +0200
| Newsgroups | gmane.comp.horde.giapeto |
|---|---|
| Message-ID | <000801c36296$b9f47cd0$0202a8c0@xerra> |
Hello,
I have it already solved.
I have removed the slashes at the beginning of the paths, so now it's:
And now it wil works!
RewriteEngine on
RewriteRule ^/?$ horde/giapeto/pages.php [QSA,L]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteRule ^(.+) horde/giapeto/pages.php?page_id=$1 [QSA,L,NS]
Anyway thank you
Best regards
Joost Wilbrink
----- Original Message -----
From: "Marko Djukic" <[email protected]>
To: <[email protected]>
Sent: Thursday, August 14, 2003 8:07 PM
Subject: Re: [giapeto] mod_rewrite in htaccess
> Quoting Joost Wilbrink <[email protected]>:
>
> > That works fine, but now I want to put it in a htaccess file because I
want
> > it also to work
> > on my ISP webserver where I have no entry to the httpd.conf file.
> > But in a .htaccess file it doens't work.
>
> Never tried it in .htaccess files, but the only thing that comes to mind
is did
> you make sure that AllowOverride was enabled in httpd.conf?
>
> marko
>
> --
> giapeto mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: [email protected]
--
giapeto mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]