On Fri, Oct 2, 2009 at 4:07 PM, Sharjeel Tariq
wrote:
> the redirection rule is written in a separate file under .
>
>
> RewriteCond %{HTTP_HOST} ^example.com$
> RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R]
>
>
> The issue was that above rule works for all urls except for urls like
> http:
the redirection rule is written in a separate file under .
RewriteCond %{HTTP_HOST} ^example.com$
RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R]
The issue was that above rule works for all urls except for urls like
http://example.com/news/headlines/more.jsp?content=20090624_075115_6540
On Fri, Oct 2, 2009 at 3:48 PM, Sharjeel Tariq
wrote:
> rewriteEngine is on. Here is the rule in Virtual Host.
>
>
> Servername www.example.com
> DocumentRoot /www/www_example_com/
> CustomLog /var/log/apache/www_example_com_access.log
> combined env=!disable_logging
>
rewriteEngine is on. Here is the rule in Virtual Host.
Servername www.example.com
DocumentRoot /www/www_example_com/
CustomLog /var/log/apache/www_example_com_access.log
combined env=!disable_logging
ErrorLog /var/log/apache/www_example_com_error.log
On Fri, Oct 2, 2009 at 10:46 AM, Sharjeel Tariq
wrote:
> The issue with creating ServerAlias is we get two analytics reports for each
> of our site. There are many benefits associated with redirecting non 'www'
> urls to 'www' urls.
>
> I tried using following configuration in httpd.conf as per Bo
The issue with creating ServerAlias is we get two analytics reports for each
of our site. There are many benefits associated with redirecting non 'www'
urls to 'www' urls.
I tried using following configuration in httpd.conf as per Bob
recommendation.
Rewritelog logs/rewrite_log
Rewriteloglevel 6
On Thu, 2009-10-01 at 11:53 -0400, Sharjeel Tariq wrote:
> Hi,
>
>
> I am trying to set up apache redirection rule for redirecting all of
> our non
> 'www' domains to 'www' domains. I got the redirection rule from apache
> manual
> but the rule does not work when we have subdirectories and parame
On Thu, Oct 1, 2009 at 9:37 AM, Bob Ionescu wrote:
> 2009/10/1 Sharjeel Tariq :
>> RewriteCond %{HTTP_HOST} ^example.com$
>> RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R]
>>
>>
>> The above rule works for all urls except when I have urls like
>>
>> http://example.com/news/headlines/more.jsp?
2009/10/1 Sharjeel Tariq :
> RewriteCond %{HTTP_HOST} ^example.com$
> RewriteRule ^/(.*)$ http://www.example.com/$1 [L,R]
>
>
> The above rule works for all urls except when I have urls like
>
> http://example.com/news/headlines/more.jsp?content=20090624_075115_6540
>
> Instead of redirecting the a
Hi,
I am trying to set up apache redirection rule for redirecting all of our non
'www' domains to 'www' domains. I got the redirection rule from apache
manual
but the rule does not work when we have subdirectories and parameters at the
end of url.
The redirection rule i have is
RewriteCond %{H
10 matches
Mail list logo