LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Testing Litespeed, one site is trying to download instead of opening

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2011, 07:15 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Default Testing Litespeed, one site is trying to download instead of opening

Hi.

We are trying to migrate to litespeed from apache. I have completed everything and installed the modules needed to compile PHP5.3.8 as well.

However, one of our client sites will not open at all. If I go to their site, my browser tries to download the site instead of opening it. It's a drupal site, and with index.php. However, other sites in PHP are loading fine though, so I'm a bit puzzled.

Any help would be appreciated. Please check http://www.hpmirror.com:1080/pp/ to test out. It's a drupal based site.

Last edited by bangsters; 12-21-2011 at 07:19 AM..
Reply With Quote
  #2  
Old 12-21-2011, 11:40 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
it return 404 error for both Apache and Litespeed

http://www.hpmirror.com:1080/ redirect to
http://www.highlandparkmirror.com/pp/

and
http://www.highlandparkmirror.com:1080/pp/

works fine.
Reply With Quote
  #3  
Old 12-21-2011, 11:54 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Yeah it redirects to highlandparkmirror.com

But if you go to highlandparkmirror.com:1080/pp it downloads the page instead of loading it in browser. It's PHP, and I have configured index.php, index.html, and index.htm in litespeed.
Reply With Quote
  #4  
Old 12-21-2011, 12:41 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
http://www.highlandparkmirror.com:1080/pp/ response with
Content-type: handler/x-httpd-php

so, it should be application/x-httpd-php, maybe it was overridden in .htaccess?
Reply With Quote
  #5  
Old 12-22-2011, 07:06 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
thanks for the reply.

Yes it's showing Content-type: handler/x-httpd-php. I checked .htaccess and nothing there. any idea? how do I manually override this? THe htaccess file has not been changed from when it was in apache.
Reply With Quote
  #6  
Old 12-22-2011, 08:32 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
fixed. had to manually add handler
Reply With Quote
Reply

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

Forum Jump


All times are GMT -7. The time now is 11:53 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.