GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   apache issue, (https://gfy.com/showthread.php?t=1055264)

cooldude7 01-28-2012 06:24 AM

apache issue,
 
when i add

errordocument 401 default

the cpu uses 100%

any idea why is that ?


thanks for your time.,

Klen 01-28-2012 06:47 AM

Sounds like you have infinite loop.

k0nr4d 01-28-2012 07:08 AM

Yep sounds like infinite loop...
It uses the default if you don't put any errordocument line.

grumpy 01-28-2012 08:08 AM

check your .htaccess

raymor 01-28-2012 08:23 AM

Though it sounds like a loop, such a loop should be detected and broken. If it's a recent version of Apache I'd like to.see it and see about the way Apache handles the error.

If you're still using Apache 1.3 there are ten years worth of improvements you're missing so that wouldn't be of interest.

cooldude7 01-28-2012 09:52 AM

i am using Apache/2

the thing is there is this inxy feeds installation which i cant access unless i add

ErrorDocument 401 default
in httpd.conf

and if i add it, server goes mad.,

htaccess has this

RewriteEngine On

#INXY_BEGIN
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*).html$ index.php?inxy_query=$1.html&%{QUERY_STRING} [L]
#INXY_END

thanks

CrocMint 01-28-2012 10:07 AM

Replace default with URL of some accessible .html document...

cooldude7 01-28-2012 11:48 AM

Quote:

Originally Posted by CrocMint (Post 18717700)
Replace default with URL of some accessible .html document...

this worked,.for now.,

all i did was removed the default error pages., and cpu went mad, now i placed those files there

400.html
401.html
403.html
404.html
500.html


thanks for your help guys.,

fris 01-28-2012 08:04 PM

you should be adding an actual file or url, not the word default


All times are GMT -7. The time now is 03:24 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123