[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] ASP engine spinning
- Subject: RE: [cobalt-users] ASP engine spinning
- From: Greg Hewitt-Long <cobaltusers@xxxxxxxxxxxxxxxxxxx>
- Date: Thu Oct 9 07:28:57 2003
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> > >> Subject: [cobalt-users] ASP engine spinning
>> >>
>> >>
>> >> I have a virtual site which does NOT has ASP connected - however,
>> >> this domain was previously using ASP very heavily. When
>> requests come
>> >> in for now non-existent asp pages, I expected the 404
>> handler to cut
>> >> it - but it doesn't!
>> >>
>> >> Instead of the user seeing 404 - the ASP engine sits spinning it's
>> >> wheels, and consuming large amounts of cpu.
>> >>
>> >> The problem is that this results in a load average of 2-3 - and if
>> >> this process is left unchecked, during the nightly log-processing
>> >> time (3-4AM) - I see a lav of 5-12.
>> >>
>> >> How can I force a domain to handle all ASP calls as errors
>> and either
>> >> 404 them, or 301 them back to the front page of the site?
>> >
>> >Are you sure your /etc/httpd/conf/httpd.conf file is
>> correct?? If you
>> >open it up, and look under the section <VirtualHost> for you client,
>> >the line AddHandler .asp should be commented out for your
>> client. If it
>> >is not, I would try to change it in the GUI and resave the
>> site, to see
>> >if the httpd.conf file picks it up. Vidar
>> >>
>> >> tia
>> >>
>> > > Greg
>>
>> Vidar,
>>
>> I'm sure... here is the httpd.conf section for the site:
>>
>> NameVirtualHost 65.125.145.37
>> <VirtualHost 65.125.145.37>
>> ServerName www.blahdomainmoving.com
>> ServerAdmin admin
>> DocumentRoot /home/sites/site16/web
>> ServerAlias blahdomainmoving.com
>> RewriteEngine on
>> RewriteCond %{HTTP_HOST} !^65.125.145.37(:80)?$
>> RewriteCond %{HTTP_HOST}
>> !^www.blahdomainmoving.com(:80)?$
>> RewriteRule ^/(.*)
>> http://www.blahdomainmoving.com/$1 [L,R]
> > RewriteOptions
> > inherit
> > AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site16/users/$1/web/$3
> > AddHandler cgi-wrapper .cgi
> > AddHandler cgi-wrapper .pl
> > AddHandler server-parsed .shtml
> > AddType text/html .shtml
>> </VirtualHost>
>>
>>
>> I've changed the domain to blahdomain.com - but otherwise
>> it's a copy and paste. I already tried turning it on, then
>> off in the gui to save it. The server STILL hangs a caspeng
>> process if a non-existent .asp page is called.
>
>Greg,
>1. You have tried restarting httpd and the asp engine, right??
oh yes.
>
>2. You could also check your httpd.conf file to see if asp is enabled in the global section.
>Globally would mean all directives that are outside of the <VirtualHost> directive. Is asp working on other sites it is not supposed to??
I've thoroughly checked for asp in httpd.conf - I can't find it except in a couple of virtual sites I would expect to see it.
I do find it in srm.conf:
319 # Chil!Soft ASP handlers
320 AddHandler chiliasp .asp
321 AddHandler chiliasp .asa
It's the same on this machine as it is on another that's not playing up...
>Vidar
>
>_____________________________________
>cobalt-users mailing list
>cobalt-users@xxxxxxxxxxxxxxx
>To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
>http://list.cobalt.com/mailman/listinfo/cobalt-users
--
E-Commerce Software & Web Design Services. http://webyourbusiness.com
Reliable Web Hosting from $4.99/month - http://www.aaabusinesshosting.com/
Domain Registration from $13/year - http://aaabusinesshosting.com/domains/
TF: 1-877-416-8655 PH: (970) 266-0195 FAX: (970) 266-0158