On Thu, Jun 5, 2008 at 3:40 PM, Malka Cymbalista
<[EMAIL PROTECTED]> wrote:
> Thanks for your reply. I actually read the documentation which is where I
> learned that I can put Rewrite directives in the directory section. My
> question is if there is any way to get around putting
> RewriteEngin
Thanks for your reply. I actually read the documentation which is where I
learned that I can put Rewrite directives in the directory section. My
question is if there is any way to get around putting
RewriteEngine on
in each directory section. I have RewriteEngine on in the config file
On Thu, Jun 5, 2008 at 11:09 AM, Malka Cymbalista
<[EMAIL PROTECTED]> wrote:
> If I want to put Rewrite directives into specific sections, do I
> have to put the RewriteEngine directive into each of the sections or can I
> put it somewhere else in the configuration file where I will not have to
If I want to put Rewrite directives into specific sections, do I
have to put the RewriteEngine directive into each of the sections or can I put
it somewhere else in the configuration file where I will not have to repeat it
in each directory section.
Thanks for any help.
--
Malka Cymbalista
We
O_O You are right.
Thank you very much, Joshua. Some lines below I inserted a "Options
ExecCGI" line.
Enjoy your weekend
On Fri, Feb 22, 2008 at 7:23 PM, Joshua Slive <[EMAIL PROTECTED]> wrote:
>
> On Fri, Feb 22, 2008 at 1:11 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote:
> > > What doe
On Fri, Feb 22, 2008 at 1:11 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote:
> > What does the apache error log say?
>
> [Fri Feb 22 10:03:38 2008] [error] [client 103.160.51.28] Options
> FollowSymLinks or SymLinksIfOwnerMatch is off
> which implies that RewriteRule directive is forbidden:
>
> What does the apache error log say?
[Fri Feb 22 10:03:38 2008] [error] [client 103.160.51.28] Options
FollowSymLinks or SymLinksIfOwnerMatch is off
which implies that RewriteRule directive is forbidden:
/var/www/httpdocs/phpinfo.php
-
On Fri, Feb 22, 2008 at 12:58 PM, thomas Armstrong <[EMAIL PROTECTED]> wrote:
> Hi.
>
> I'm experiencing one problem with Apache2 on Linux. If
> I insert a "RewriteEngine On" line in ".htaccess", webpages
> return a "403 Forbidden Error".
What does the apache error log say?
Joshua.
--
Hi.
I'm experiencing one problem with Apache2 on Linux. If
I insert a "RewriteEngine On" line in ".htaccess", webpages
return a "403 Forbidden Error".
I inserted these lines in 'httpd.conf':
Options Indexes FollowSymLinks
AllowOverride All
FCGIWrapper /var/www/httpdocs/bin/php
Joshua Slive wrote:
> Davi Leal wrote:
> > Does the rewrite engine not take into account the URI parameters? I get:
> >
> > init rewrite engine with requested uri /offers
> >
> > instead of
> >
> > init rewrite engine with requested uri /offers?id=9
>
> In the docs for RewriteRule, see the big
On 5/5/07, Davi Leal <[EMAIL PROTECTED]> wrote:
Does the rewrite engine not take into account the URI parameters? I get:
init rewrite engine with requested uri /offers
instead of
init rewrite engine with requested uri /offers?id=9
In the docs for RewriteRule, see the big box marked "Qu
Sascha Kersken wrote:
> why don't you have your PHP script ViewOffer.php do the redirection? Like:
>
> if (!isset($_REQUEST['id'])) {
> header ("Location: Offers.php");
> }
Because we were trying to realize all the URI redesign at the Apache rewrite
layer. The current gnuherds.org URIs suck!
Hi,
why don't you have your PHP script ViewOffer.php do the redirection? Like:
- Original Message -
From: "Davi Leal" <[EMAIL PROTECTED]>
To:
Sent: Saturday, May 05, 2007 11:04 AM
Subject: [EMAIL PROTECTED] RewriteEngine
Hi,
How to do this:
Re
Hi,
How to do this:
RewriteRule ^/offers?id=(.*) /ViewOffer.php?OfferId=$1
RewriteRule ^/offers(.*) /Offers.php$1
That is to say:
if "id=" is present go to ViewOffer.php
else go to Offers.php
Best regards,
Davi
--
14 matches
Mail list logo