Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > cPanel and WHM Discussions

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2009, 09:31 AM
Registered User
 
Join Date: Mar 2009
Posts: 9
pramsey is on a distinguished road
addon domain returns 200 'OK' for non existant pages instead of 404

Is this normal behavior? Is this planned? how can it be changed?

example :
Normal site
http://stacey-nemour.com/
Non existant page
http://stacey-nemour.com/asdfljh234589

-P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-24-2009, 12:34 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by pramsey View Post
Is this normal behavior? Is this planned? how can it be changed?

example :
Normal site
http://stacey-nemour.com/
Non existant page
http://stacey-nemour.com/asdfljh234589

-P

http://stacey-nemour.com/asdfljh234589 appears to exist. Are you sure you don't have any redirection or mod_rewrite rules that could be causing this to happen?
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-26-2009, 02:28 PM
Registered User
 
Join Date: Apr 2008
Posts: 93
thobarn is on a distinguished road
There appears to be a rewrite error

Code:
GET http://stacey-nemour.com/asdfljh234589
301 Moved Permanently -> Location: http://stacey-nemour.com/asdfljh234589/

GET /favicon.ico
301 Moved Permanently -> Location: http://stacey-nemour.com/favicon.ico/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-26-2009, 05:08 PM
Registered User
 
Join Date: Mar 2009
Posts: 9
pramsey is on a distinguished road
The re-write that is happening is from the cpanel/easy apache config and not .htaccess as there is no .htaccess. So how do I tell cpanel not to do this?

-P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-26-2009, 05:14 PM
Registered User
 
Join Date: Mar 2009
Posts: 9
pramsey is on a distinguished road
dooohp....


I created an .htaccess and the problem went away...

-P

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
200 , 404 , addon domain , apache

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:35 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc