Alain Roger wrote:
Hi,
i would like to rewrite some of my pages so i have the following
.htaccess file under my subfolder _sub/test/
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.php$
article.php?numero=$1&page=$2 [L]
i also have 1 file article.php whic
Hi,
i would like to rewrite some of my pages so i have the following .htaccess
file under my subfolder _sub/test/
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^article-([0-9]+)-([0-9]+)\.php$ article.php?numero=$1&page=$2
[L]
i also have 1 file article.php which only display the numero
On Sep 2, 2008, at 8:01 AM, Krist van Besien wrote:
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
Hi Everyone,
Thanks for your help on this! I ended up changing my thinking a little
bit and ended up doing a subdomain since I found out the server that
is going to
On Sep 2, 2008, at 8:01 AM, Krist van Besien wrote:
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
and this is my log file entry:
127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
[127.0.0.1/sid#1802648][rid#1836238/initial] (2) init rewrite
engine with
requested uri /server
On Tue, Sep 2, 2008 at 13:12, Jason Pruim <[EMAIL PROTECTED]> wrote:
> and this is my log file entry:
> 127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
> [127.0.0.1/sid#1802648][rid#1836238/initial] (2) init rewrite engine with
> requested uri /server-status
> 127.0.0.1 - - [02/Sep/2008:07:06:14 -0400]
On Sep 2, 2008, at 6:54 AM, Eric Covener wrote:
On Tue, Sep 2, 2008 at 6:20 AM, Jason Pruim <[EMAIL PROTECTED]>
wrote:
RewriteEngine on
RewriteLog "/var/log/httpd/rewrite.log"
RewriteLogLevel 9
RewriteRule /(.*) p.php?purl=$1
Outside of directory/location/htac
On Tue, Sep 2, 2008 at 6:20 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>RewriteEngine on
>RewriteLog "/var/log/httpd/rewrite.log"
>RewriteLogLevel 9
>RewriteRule /(.*) p.php?purl=$1
Outside of directory/location/htaccess, you have to rewrite to an
absolute pa
On Aug 29, 2008, at 10:10 AM, Krist van Besien wrote:
On Fri, Aug 29, 2008 at 15:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
Look in to your log:
It says:
[127.0.0.1/sid#1802648][rid#1836238/initial] (4) RewriteCond:
input='GET' pattern='^TRACE' => not-matched
What exactly do you have in you
On Fri, Aug 29, 2008 at 15:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
Look in to your log:
It says:
[127.0.0.1/sid#1802648][rid#1836238/initial] (4) RewriteCond:
input='GET' pattern='^TRACE' => not-matched
What exactly do you have in your config? Looks like you have a
RewriteCond somewhere, tha
On Aug 29, 2008, at 3:08 AM, Krist van Besien wrote:
On Thu, Aug 28, 2008 at 17:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
It is case 1 that I want. I want people to be able to type in:
HTTP://www.raoset.com/jasonpruim112 and have my script at:
HTTP://www.raoset.com/purl/purl.php?purl=jasonpru
On Thu, Aug 28, 2008 at 17:21, Jason Pruim <[EMAIL PROTECTED]> wrote:
It is case 1 that I want. I want people to be able to type in:
> HTTP://www.raoset.com/jasonpruim112 and have my script at:
> HTTP://www.raoset.com/purl/purl.php?purl=jasonpruim112 take over control.
OK, than this rule:
RewriteR
On Aug 28, 2008, at 9:21 AM, Krist van Besien wrote:
On Thu, Aug 28, 2008 at 14:41, Jason Pruim <[EMAIL PROTECTED]> wrote:
What I want to do is to rewrite this url:
HTTP://www.raoset.com/purl/customer/index.php?purl=jasonpruim112
To something more like:
HTTP://www.raoset.com/jasonpruim112
On Thu, Aug 28, 2008 at 14:41, Jason Pruim <[EMAIL PROTECTED]> wrote:
> What I want to do is to rewrite this url:
> HTTP://www.raoset.com/purl/customer/index.php?purl=jasonpruim112
>
> To something more like:
>
> HTTP://www.raoset.com/jasonpruim112
In what direction do you want the rewrite? Do yo
Hi Everyone,
Just recently joined this list so I apologize upfront for the toes
that I'm about to stomp on!
I am trying to understand mod rewrite, and not having much luck... I
am looking to do what I feel would be a simple rewrite but have not
found the answer or could not understand it.
Thank you all for your help. There were a couple problems I was having. The
biggest turned out to be an .htaccess file in another directory interfering
with this one, which made it very hard to figure out what was going on.
Thanks again,
Ben
chengas123 wrote:
>
> Thanks noodl. This is a
Thanks noodl. This is a good idea, which I would like to use. I can't
figure out how %{REQUEST_FILENAME} works though!
If I use "RewriteCond %{REQUEST_FILENAME} -d" it only ever returns when I
visit my homepage at lumidant.com. I used only this rule in my .htaccess
and had it redirect to Yaho
On 27/02/2008, chengas123 <[EMAIL PROTECTED]> wrote:
> Yes, that essentially is exactly what I'd like to do. However, I'm not sure
> how to. I know how to test if the requested resource is a directory, but
> does anyone have any ideas on how I would test if the rewritten URL is an
> existing
Yes, that essentially is exactly what I'd like to do. However, I'm not sure
how to. I know how to test if the requested resource is a directory, but
does anyone have any ideas on how I would test if the rewritten URL is an
existing directory?
Also, thanks for the tip on disabling directory slash
On Wed, Feb 27, 2008 at 2:40 AM, chengas123 <[EMAIL PROTECTED]> wrote:
> However, I still have one bug left in this implementation, which shows up
> when I request a directory without a trailing slash. For example,
> lumidant.com/contact becomes lumidant.com/lumidant/contact/ because Apache
>
Hi,
I signed up for a hosting account that can support many domains. One domain
is the root web folder and all the others are subdirectories in that folder.
This gets confusing to maintain, so I’d like to move the main domain into a
sub directory too.
I’ve gotten pretty far using mod_rewrite:
Samuel Vogel wrote:
Hey,
I have 3 domains with various subdomains. The domains are kilu.de,
kilu2.de and kilu3.de
I want that all requests to [www.]kilu2.de or [www.]kilu3.de are
redirected to [www.]kilu.de.
Now I'm looking for the best mod_rewrite solution. Here is what I got
right now:
Hey,
I have 3 domains with various subdomains. The domains are kilu.de,
kilu2.de and kilu3.de
I want that all requests to [www.]kilu2.de or [www.]kilu3.de are
redirected to [www.]kilu.de.
Now I'm looking for the best mod_rewrite solution. Here is what I got
right now:
RewriteEngine On
Hi Pane,thanks a lot, I guess the (.*) was the _expression_ I was looking for.Great!Gregor-- what's puzzlin' you, is the nature of my game
RewriteEngine onRewriteRule /SingleSignOn/SingleSignOn?r=/dom(.*) /SingleSignOn/SingleSignOn?r=/domI think this ought to work. Without having a more accurate example I might be wrong,but I think this will do it... Thanks, Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Sep 15,
Hi guys,I've just walked through the docs of mod_rewrite and I got overwhelmed by the complexity of it :(Actually I just want to do quite a simple thing:If my URI contains/SingleSignOn/SingleSignOn?r=/dom[plus_some_other_stuff_here]
change it to/SingleSignOn/SingleSignOn?r=/domIf I got the docs cor
...right. well in any event I have it working now.
Thanks for the help :-)
-Eoin
On 8/24/06, Joshua Slive <[EMAIL PROTECTED]> wrote:
On 8/24/06, Eoin Coffey <[EMAIL PROTECTED]> wrote:> Removed the .htaccess file and added the two lines to the
> directive.>> Instead of a 404 error I get a 400
On 8/24/06, Eoin Coffey <[EMAIL PROTECTED]> wrote:
Removed the .htaccess file and added the two lines to the
directive.
Instead of a 404 error I get a 400 error now.
-Eoin
On 8/24/06, Joshua Slive <[EMAIL PROTECTED]> wrote:
>
On 8/24/06, Eoin Coffey < [EMAIL PROTECTED]> wrote:
> Hey There,
>
Removed the .htaccess file and added the two lines to the directive.Instead of a 404 error I get a 400 error now.-EoinOn 8/24/06,
Joshua Slive <[EMAIL PROTECTED]> wrote:On 8/24/06, Eoin Coffey <
[EMAIL PROTECTED]> wrote:> Hey There,>> After reading the faq, docs, and browsing the usenet I'm still
On 8/24/06, Eoin Coffey <[EMAIL PROTECTED]> wrote:
Hey There,
After reading the faq, docs, and browsing the usenet I'm still stumped.
Here's the setup.
My work is using port based virtual servers to manage our dev projects. So
same IP address, but it will server up a different docroot dependi
Hey There,After reading the faq, docs, and browsing the usenet I'm still stumped.Here's the setup.My work is using port based virtual servers to manage our dev projects. So same IP address, but it will server up a different docroot depending on the port number.
I've put the 'RewriteEngine on' in t
thanks a lot Vincent, I will try this on Monday.
> On 7/21/06, Vincent Bray <[EMAIL PROTECTED]> wrote:
>> On 7/21/06, Vincent Blondel <[EMAIL PROTECTED]> wrote:
>> > > I would like to forward traffic from (dmz)
>> http://people.domain/~username
>> > > to (lan) http://username.srv.intranet.
>> > >
On 7/21/06, Vincent Bray <[EMAIL PROTECTED]> wrote:
On 7/21/06, Vincent Blondel <[EMAIL PROTECTED]> wrote:
> > I would like to forward traffic from (dmz) http://people.domain/~username
> > to (lan) http://username.srv.intranet.
> > I found such type of example to resolve this case but I do not kn
On 7/21/06, Vincent Blondel <[EMAIL PROTECTED]> wrote:
> I would like to forward traffic from (dmz) http://people.domain/~username
> to (lan) http://username.srv.intranet.
> I found such type of example to resolve this case but I do not know if
> this is the right way to do it and I do not find a
Can somebody help me please ... thanks a lot.
Regards
Vincent
>
> Hello all,
>
> I get mod_proxy running in my dmz to forward http traffic from internet to
> my trusted area. This is working fine except that I have to implement a
> new type of config for a special host.
>
> I would like to forwa
Hello all,
I get mod_proxy running in my dmz to forward http traffic from internet to
my trusted area. This is working fine except that I have to implement a
new type of config for a special host.
I would like to forward traffic from (dmz) http://people.domain/~username
to (lan) http://username.
On 3/12/06, Paul Aviles <[EMAIL PROTECTED]> wrote:
> I am pulling my hair out with this. I have a single public IP and already
> have a web server redirected on the firewall from the external IP to the
> private IP of 10.5.36.5. Now I need to enable another box (10.5.36.6)
> running on port 80 to b
On 3/17/06, Gaël Lams <[EMAIL PROTECTED]> wrote:
> > That is correct. My understanding is that Cisco Pix 505 can't do the port
> > forwarding so that is the reason why I was looking on doing this.
>
> If the only option you have is to open port 81 on the fw and send it
> to port 81 on the same 10.5
> That is correct. My understanding is that Cisco Pix 505 can't do the port
> forwarding so that is the reason why I was looking on doing this.
If the only option you have is to open port 81 on the fw and send it
to port 81 on the same 10.5.36.5, you have to to configure iptable on
10.5.36.5 to fo
: Tue, 14 Mar 2006 14:14:45 +0100
Subject: Re: [EMAIL PROTECTED] mod_rewrite question
> Hi
>
> > I am pulling my hair out with this. I have a single public IP and already
> > have a web server redirected on the firewall from the external IP to the
> > private IP of 10.5.36.5
Hi
> I am pulling my hair out with this. I have a single public IP and already
> have a web server redirected on the firewall from the external IP to the
> private IP of 10.5.36.5. Now I need to enable another box (10.5.36.6)
> running on port 80 to be accessible from the outside.
10.5.36.6 is a
I am pulling my hair out with this. I have a single public IP and already
have a web server redirected on the firewall from the external IP to the
private IP of 10.5.36.5. Now I need to enable another box (10.5.36.6)
running on port 80 to be accessible from the outside.
I can open port 81 on the
Tony VanScoy wrote:
I got it.
RewriteCond %{QUERY_STRING} ^file\=12$
RewriteRule ^/test\.php$ /pdf/somfile.pdf [R,L,T=application/pdf]
Looks like i needed regex in the RewriteCond.
Thanks.
That was my bad on the % to $ typo. Sorry.
The last argument for the Rewrite Cond can be either a rege
I got it.
RewriteCond %{QUERY_STRING} ^file\=12$
RewriteRule ^/test\.php$ /pdf/somfile.pdf [R,L,T=application/pdf]
Looks like i needed regex in the RewriteCond.
Thanks.
-
The official User-To-User support forum of the Apache HT
>
> RewriteEngine On
> RewriteCond ${QUERY_STRING} "file"
> RewriteRule ^/test\.php$ /index.php [R]
>
Well i fixed my typo ${QUERY_STRING}, it should be %{QUERY_STRING}.
But still not working.
-
The official User-To-User suppor
> > I want to redirect certain requests to a pdf depending on a get
> > variable. nothing new, but I just can't get it to work. So I started
> > with the basics but just redirecting a certain page to a pdf, which
> > works.
> >
> > RewriteRule ^/test\.php$ /pdf/somefile.pdf$ [R,T=application/pdf]
>
Tony VanScoy wrote:
I want to redirect certain requests to a pdf depending on a get
variable. nothing new, but I just can't get it to work. So I started
with the basics but just redirecting a certain page to a pdf, which
works.
RewriteRule ^/test\.php$ /pdf/somefile.pdf$ [R,T=application/pdf]
W
I want to redirect certain requests to a pdf depending on a get
variable. nothing new, but I just can't get it to work. So I started
with the basics but just redirecting a certain page to a pdf, which
works.
RewriteRule ^/test\.php$ /pdf/somefile.pdf$ [R,T=application/pdf]
Which works fine. But,
47 matches
Mail list logo