On 2/3/07, Troy Moseley <[EMAIL PROTECTED]> wrote:
If all your client wants is to hide the fact that PHP is being used then
why not simply change the application-type line, ie.
AddType application/x-httpd-php .htm
Hi Troy,
That will not solve the problem since actually I need to do only
'secret' is
safe...
From: Feris Thia [mailto:[EMAIL PROTECTED]
Sent: Friday, February 02, 2007 8:46 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] URLRewrite Question
On 2/2/07, Krist van Besien <[EMAIL PROT
On 2/3/07, Bob <[EMAIL PROTECTED]> wrote:
Feris Thia wrote:
> I have added the [L] but it seems not stopping.
It does. But there is an internal redirect in directory context.
Put
RewriteEngine on
RewriteRule ^/([0-9a-zA-Z]+)\.html$ /$1.php [PT]
RewriteRule \.php$ - [F]
into your httpd.conf/
Feris Thia wrote:
I have added the [L] but it seems not stopping.
It does. But there is an internal redirect in directory context.
Put
RewriteEngine on
RewriteRule ^/([0-9a-zA-Z]+)\.html$ /$1.php [PT]
RewriteRule \.php$ - [F]
into your httpd.conf/ per-server context (main server config secti
IL PROTECTED]
Sent: 02 February 2007 15:55
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] URLRewrite Question
Sorry...
I think I understand both of you guys... the [L] is to stop any
further rule processing. Is it work with Apache on Windows ?
eris Thia [mailto:[EMAIL PROTECTED]
Sent: 02 February 2007 15:55
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] URLRewrite Question
Sorry...
I think I understand both of you guys... the [L] is to stop any
further rule proce
Sorry...
I think I understand both of you guys... the [L] is to stop any further rule
processing. Is it work with Apache on Windows ?
I have added the [L] but it seems not stopping.
Regards,
Feris
On 2/2/07, Feris Thia <[EMAIL PROTECTED]> wrote:
On 2/2/07, Krist van Besien <[EMAIL PROTECTE
On 2/2/07, Krist van Besien <[EMAIL PROTECTED]> wrote:
RewriteRule processing doesn't stop when a rule matches, unless you
tell it to. So you first rewrite *.html to *.php and then tell your
server to forbid access to *.php, and you get exactly that.
First a question: Why do you want to do this
Hi Olivier,
This still doesn't work as what I want it too. It makes every access to html
and php forbidden.
Regards,
Feris
On 2/2/07, Chirouze Olivier <[EMAIL PROTECTED]> wrote:
Hi,
I guess you should add [L] ("last") to your first rule, and make sure
the second one is AFTER. Thus, the firs
On 2/2/07, Feris Thia <[EMAIL PROTECTED]> wrote:
Hi Everyone,
I configured my .htaccess to map/redirect all my *.html page to *.php pages
like below
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php
It works. But now,
Subject: [EMAIL PROTECTED] URLRewrite Question
Hi Everyone,
I configured my .htaccess to map/redirect all my *.html page to
*.php pages like below
RewriteEngine on
RewriteRule ^([0-
Hi Everyone,
I configured my .htaccess to map/redirect all my *.html page to *.php pages
like below
RewriteEngine on
RewriteRule ^([0-9a-zA-Z]+)\.html$ $1.php
It works. But now, I want the client cannot access the php script dire
12 matches
Mail list logo