You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sander Holthaus - Orange XL <in...@orangexl.com> on 2003/02/05 14:11:08 UTC

Re: [users@httpd] Need Suggestion

Perhaps something like:

RewriteEngine on 
RewriteBase /
RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
RewriteRule ^.*$ /master.php?URLB=%{REQUEST_URI} [L]

?

----- Original Message ----- 
  From: Master Web Era Sinar 
  To: users@httpd.apache.org 
  Sent: Thursday, February 06, 2003 4:40 AM
  Subject: [users@httpd] Need Suggestion


  This script seems to slow down our server ( NT-SP6, Apache 2.0.43, MySQL, PHP as Module ).


  RewriteEngine on 
  RewriteBase /
  RewriteRule !\.(gif|jpg|htm|php|txt)$ /master.php?URLB=%{REQUEST_URI}


  I Need suggestion how to tweak this script to improve perfomance of our server.

  Thanks Alot

Re: [users@httpd] Need Suggestion

Posted by Master Web Era Sinar <we...@erasinar.com>.
Sander, Thanks for your great job.

I Will let you know, after i finished the test.


Once again thanks.

  ----- Original Message ----- 
  From: Sander Holthaus - Orange XL 
  To: users@httpd.apache.org 
  Sent: Thursday, February 06, 2003 2:06 AM
  Subject: Re: [users@httpd] Need Suggestion


  sorry, didn't check synthax and stuff (was just intendended an idea). But the rpoblem lies in my third line:

  RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
  RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt))$

  --> missing a closing )
    ----- Original Message ----- 
    From: Master Web Era Sinar 
    To: users@httpd.apache.org 
    Sent: Thursday, February 06, 2003 7:02 PM
    Subject: Re: [users@httpd] Need Suggestion


    Thanks Sander 

    But i Found Internal Server Error 500 .


      ----- Original Message ----- 
      From: Sander Holthaus - Orange XL 
      To: users@httpd.apache.org 
      Sent: Wednesday, February 05, 2003 5:11 AM
      Subject: Re: [users@httpd] Need Suggestion


      Perhaps something like:

      RewriteEngine on 
      RewriteBase /
      RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
      RewriteRule ^.*$ /master.php?URLB=%{REQUEST_URI} [L]

      ?

      ----- Original Message ----- 
        From: Master Web Era Sinar 
        To: users@httpd.apache.org 
        Sent: Thursday, February 06, 2003 4:40 AM
        Subject: [users@httpd] Need Suggestion


        This script seems to slow down our server ( NT-SP6, Apache 2.0.43, MySQL, PHP as Module ).


        RewriteEngine on 
        RewriteBase /
        RewriteRule !\.(gif|jpg|htm|php|txt)$ /master.php?URLB=%{REQUEST_URI}


        I Need suggestion how to tweak this script to improve perfomance of our server.

        Thanks Alot


Re: [users@httpd] Need Suggestion

Posted by Sander Holthaus - Orange XL <in...@orangexl.com>.
sorry, didn't check synthax and stuff (was just intendended an idea). But the rpoblem lies in my third line:

RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt))$

--> missing a closing )
  ----- Original Message ----- 
  From: Master Web Era Sinar 
  To: users@httpd.apache.org 
  Sent: Thursday, February 06, 2003 7:02 PM
  Subject: Re: [users@httpd] Need Suggestion


  Thanks Sander 

  But i Found Internal Server Error 500 .


    ----- Original Message ----- 
    From: Sander Holthaus - Orange XL 
    To: users@httpd.apache.org 
    Sent: Wednesday, February 05, 2003 5:11 AM
    Subject: Re: [users@httpd] Need Suggestion


    Perhaps something like:

    RewriteEngine on 
    RewriteBase /
    RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
    RewriteRule ^.*$ /master.php?URLB=%{REQUEST_URI} [L]

    ?

    ----- Original Message ----- 
      From: Master Web Era Sinar 
      To: users@httpd.apache.org 
      Sent: Thursday, February 06, 2003 4:40 AM
      Subject: [users@httpd] Need Suggestion


      This script seems to slow down our server ( NT-SP6, Apache 2.0.43, MySQL, PHP as Module ).


      RewriteEngine on 
      RewriteBase /
      RewriteRule !\.(gif|jpg|htm|php|txt)$ /master.php?URLB=%{REQUEST_URI}


      I Need suggestion how to tweak this script to improve perfomance of our server.

      Thanks Alot

Re: [users@httpd] Need Suggestion

Posted by Master Web Era Sinar <we...@erasinar.com>.
Thanks Sander 

But i Found Internal Server Error 500 ...


  ----- Original Message ----- 
  From: Sander Holthaus - Orange XL 
  To: users@httpd.apache.org 
  Sent: Wednesday, February 05, 2003 5:11 AM
  Subject: Re: [users@httpd] Need Suggestion


  Perhaps something like:

  RewriteEngine on 
  RewriteBase /
  RewriteCond %{REQUEST_URI} !(\.(gif|jpg|htm|php|txt)$
  RewriteRule ^.*$ /master.php?URLB=%{REQUEST_URI} [L]

  ?

  ----- Original Message ----- 
    From: Master Web Era Sinar 
    To: users@httpd.apache.org 
    Sent: Thursday, February 06, 2003 4:40 AM
    Subject: [users@httpd] Need Suggestion


    This script seems to slow down our server ( NT-SP6, Apache 2.0.43, MySQL, PHP as Module ).


    RewriteEngine on 
    RewriteBase /
    RewriteRule !\.(gif|jpg|htm|php|txt)$ /master.php?URLB=%{REQUEST_URI}


    I Need suggestion how to tweak this script to improve perfomance of our server.

    Thanks Alot