Re: [us...@httpd] 301 redirect

2010-05-25 Thread Matus UHLAR - fantomas
On 19.05.10 00:02, Piotr Kloc wrote: Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this RewriteEngine on RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1 [R=301,L] Redirect permanent /webmail/ http://somedomain.com/webmail/ you even don't

Re: [us...@httpd] 301 redirect

2010-05-25 Thread Eric Covener
On Tue, May 25, 2010 at 8:20 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 19.05.10 00:02, Piotr Kloc wrote: Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this RewriteEngine on RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1

Re: [us...@httpd] 301 redirect

2010-05-25 Thread Matus UHLAR - fantomas
On Tue, May 25, 2010 at 8:20 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 19.05.10 00:02, Piotr Kloc wrote: Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this RewriteEngine on RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1

Re: [us...@httpd] 301 redirect

2010-05-25 Thread Eric Covener
On Tue, May 25, 2010 at 8:28 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On Tue, May 25, 2010 at 8:20 AM, Matus UHLAR - fantomas uh...@fantomas.sk wrote: On 19.05.10 00:02, Piotr Kloc wrote: Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this

[us...@httpd] 301 redirect

2010-05-18 Thread Piotr Kloc
Hello ! Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this RewriteEngine on RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1 [R=301,L] and it doesnt work if I put this in .htaccess it does I want to set redirect directory for all my vhosts

Re: [us...@httpd] 301 redirect

2010-05-18 Thread Nick Kew
On 18 May 2010, at 23:02, Piotr Kloc wrote: Hello ! Can I set the redirect 301 not in .htaccess but in apache conf ? I have tried to set this RewriteEngine on RewriteRule ^webmail/(.*)$ http://somedomain.com/webmail/$1 [R=301,L] Every URL starts with /, so none can match that pattern.

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-02-11 Thread Tom Evans
On Tue, 2009-01-06 at 08:12 -0700, Corey Shaw wrote: Edd, What you're attempting to do is possible using PHP. The header() function allows you to accomplish what you're trying to do. The definition is at http://us2.php.net/manual/en/function.header.php. Putting header('Location:

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-01-06 Thread Krist van Besien
On Tue, Jan 6, 2009 at 11:25 AM, Channel Five edd.daw...@gmail.com wrote: Hi I have the following URL's http://www.mydomain.com/topic-guide.php http://www.mydomain.com/topic-guide.php?section=2 http://www.mydomain.com/topic-guide.php?section=3

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-01-06 Thread Channel Five
Thanks Krist.. So basically I'm attempting the impossible? On Tue, Jan 6, 2009 at 10:42 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:25 AM, Channel Five edd.daw...@gmail.com wrote: Hi I have the following URL's

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-01-06 Thread Corey Shaw
: [us...@httpd] 301 Redirect problem on Apache 2.0.50 Thanks Krist.. So basically I'm attempting the impossible?   On Tue, Jan 6, 2009 at 10:42 AM, Krist van Besien krist.vanbes...@gmail.com wrote: On Tue, Jan 6, 2009 at 11:25 AM, Channel Five edd.daw...@gmail.com wrote: Hi I

Re: [us...@httpd] 301 Redirect problem on Apache 2.0.50

2009-01-06 Thread Brian Mearns
No, it sounds like you're attempting to do what is already being done. As Krist said, any of those urls you specified will cause Apache to invoke PHP for topic-guide.php, passing the URL specified section value in the $_GET super global. To illustrate this, just create a file on your server, say