Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
Problem with 302 Moved temporarily on hosting
Old 10-05-2007, 10:37 AM Problem with 302 Moved temporarily on hosting
Novice Talker

Posts: 8
Name: Nikola Knezevic
Trades: 0
Ok people,
I really need help I have a problem with error 302 Moved temporarily (redirect) constantly showing on my HTTP Status codes in statistics.

I can only assume this...that the problem lies here in my htaccess file that looks like this:

php_value session.use_only_cookies 1
php_value session.use_trans_sid 0
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://domain.com.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www. domain. com.*$ [NC]
RewriteRule .*\.(gif|jpg|jpeg|bmp|css)$ http://www. domain. com/message.php [R,NC]
RewriteRule ^Value\/(.*)\/(.*)\/(.*)\/(.*)$ index.php?category=value&group=$1&second=$2&third= $3&forth=$4

ErrorDocument 404 /message.php
ErrorDocument 403 /message.php

IndexIgnore *

.........

Also my images folder is protected with chmod..
Can somebody help me..
democreations is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-05-2007, 10:43 AM Re: Problem with 302 Moved temporarily on hosting
Defies a Status

Posts: 3,420
Trades: 0
What is your web site address? The .htaccess file seems to be redirecting visitors to your domain to message.php.
CSS4Life is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 04:20 PM Re: Problem with 302 Moved temporarily on hosting
Novice Talker

Posts: 8
Name: Nikola Knezevic
Trades: 0
I will send you address in PM
democreations is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 04:20 PM Re: Problem with 302 Moved temporarily on hosting
Novice Talker

Posts: 8
Name: Nikola Knezevic
Trades: 0
Hmm 5 more posts needed
democreations is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 07:05 PM Re: Problem with 302 Moved temporarily on hosting
Banned

Posts: 2,898
Location: Canada
Trades: 0
Don’t worry about 302 and 301 messages in your Stats.
I will assume AwStats. Just ignore it



fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 07:08 PM Re: Problem with 302 Moved temporarily on hosting
Novice Talker

Posts: 8
Name: Nikola Knezevic
Trades: 0
Yes Awstats

I supposed it was because of my htaccess , but hope it will not make any problems.
democreations is offline
Reply With Quote
View Public Profile
 
Old 10-05-2007, 07:24 PM Re: Problem with 302 Moved temporarily on hosting
Banned

Posts: 2,898
Location: Canada
Trades: 0
Quote:
I supposed it was because of my htaccess
It have nothing to do with your htaccess

All your 301 and 302 generayed by Meta spammers



fastreplies
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 10-06-2007, 06:23 AM Re: Problem with 302 Moved temporarily on hosting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by fastreplies View Post
It have nothing to do with your htaccess

All your 301 and 302 generayed by Meta spammers
How on earth can "meta spammers" (whatever that is or they are) cause a different redirect IN THE SITE LOGS!!!!!!!!!!!!!



democreations Ignore that "advice" totally


The real reason is, using [R] in htaccess sets a 302 status code, as it is an implied [R=302].
To set a permanent redirect you have to set an explicit 301 status with [R=301]
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-06-2007, 12:42 PM Re: Problem with 302 Moved temporarily on hosting
Banned

Posts: 2,898
Location: Canada
Trades: 0
Ok, then explain why sites that have no htaccess at all get the same
301 and 302 errors



fastreplies

Last edited by fastreplies; 10-06-2007 at 12:43 PM..
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 10-06-2007, 01:17 PM Re: Problem with 302 Moved temporarily on hosting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
For a start 301 and 302 responses are NOT "errors". They are HTTP response codes and mean that the server had to do something other than simply serve out the requested page.

I don't really understand what you are asking. There are several reasons why a 302 response would be sent to the user agent by a server following a page request

If a page request is made to a folder without a trailing slash "/" your server logs may show a 302 response as it redirects to include the slash.

.htaccess instructions are not the only way to send HTTP responses.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-06-2007, 02:31 PM Re: Problem with 302 Moved temporarily on hosting
Banned

Posts: 2,898
Location: Canada
Trades: 0
Quote:
There are several reasons why a 302 response would be sent to the user agent by a server following a page request
And one of them is, if somebody for whatever reason linking to your page, image article etc.
using something like: <meta http-equiv="refresh" content="0;url=your-domain.com/picture/">
but can't find it


fastreplies

Last edited by fastreplies; 10-06-2007 at 02:33 PM..
fastreplies is offline
Reply With Quote
View Public Profile
 
Old 10-06-2007, 02:40 PM Re: Problem with 302 Moved temporarily on hosting
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,520
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
A meta refresh redirect from another page is NOT going to create a 302 response on a remote server.

If the page cannot be found the response will be a 404, unless the server operator has taken measures to redirect failed URIs
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-13-2007, 11:42 AM Re: Problem with 302 Moved temporarily on hosting
Novice Talker

Posts: 8
Name: Nikola Knezevic
Trades: 0
Thanks people..
democreations is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Problem with 302 Moved temporarily on hosting
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35349 seconds with 12 queries