Jump to content

Recommended Posts

Posted

Hi there.

My website (http://torels.co.cc) seems to be very slow when handling wsgi scripts. It loads normal files pretty fast, but wsgi processing takes about 20 seconds.

could it be the .htaccess file creating the problem?

# -FrontPage-
IndexIgnore .htaccess #*/.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName torels.co.cc
AuthUserFile /home1/torels/public_html/_vti_pvt/service.pwd
AuthGroupFile /home1/torels/public_html/_vti_pvt/service.grp
DirectoryIndex index.wsgi index.html
AddHandler wsgi-script .wsgi
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /home1/torels/public_html/index.wsgi/$1 [QSA,PT,L]

 

Or is it more likely to be a coding issue that makes the script slow (like a badly coded loop or something)?

 

thanks in advance :)

Posted

What does this part do? It seems kind of pointless to me...

<Limit GET POST>

order deny,allow

deny from all

allow from all

</Limit>

Perhaps this could be part of the problem?

 

(null)

Posted

don't know... it was there so I left it. I never got to understanding what was going on in .htaccess files >.<

 

ok now it's just not working... with no change at all >.<

it just stays on load forever .-.

Posted

Hold on with looking for the reason of your problem until the general problem with accessing websites on Stevie won't be fixed. There is such problem for last couple of days.

 

 

 

The mentioned by Ice IT Support part of the code as is do completely nothing, maybe except using a single milisecond (or much less) of work for CPU.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...