Litespeed Http Server Review

Jun 28, 2007

SO the last few months I been trying like crazy to tweak Apache or find a better http setup such as running lighttpd with Apache, etc. I have been frustrated by the way Apache easily fork bombs under any decent load or dos attack. You get about 100 bots all making 30+ connections a piece on Apache and it kills it.

Bot kids have adapted to ddos protection and connection flooding banning by sending low bandwidth attacks that do not make enough connections to get banned if you do have protection, its real low bandwidth incoming but is like a massive vampire attack outgoing. And it destroys Apache no matter what you do, what modules you have, etc. You basically have to go in and manually ban or set your connection tracking limit down to where it starts banning regular users too.

So I seen on here somewhere someone recommending litespeed to someone so I went and checked it out and was amazed by the performance. I installed the trial enterprise in a p4 server I been having problems out of lately crashing all because a busy site and I installed it in my main server.

The only thing I needed to do was compile my own php5 for it, which is real easy via their wiki instruction. After a few snags here in there I finally got it working tip top on both servers, both of which are cpanel.

So with the p4 that was always crashing and keeping hi load, We would end up having to remote reboot that box almost once a week not due to any misconfiguration or wrong setup, just couldnt take all that Apache usage and would die. We instantly noticed a difference with litespeed. The average load used to be about 1-2 always, with litespeed the average stayed about ..2 even under heavy traffic. So this was a big improvement and we have not had to reboot that box since.

My main server which I take my high risk clients on, core2duo 2.4. I thought there for a Lil bit the sites were starting to outgrow the server as its average load always was around 1 which was fairly acceptable seeing the traffic it gets so normal for Apache.

During the low bandwidth ddos attacks I would have to go in and manually ban as well as setting connection limit way down just to keep it from lagging, most of the time it still did. So I was really wanting to do something for this server to optimize http without upgrading, because it seems most of your hardware upgrades are to suit Apache anyway.

So I installed litespeed on my main server, ran into a few snags here and there but eventually got it under control. Just the last few days I got to see it put to the test.

I took on a client who was being extorted by a ddoser who recently got him kicked off his previous host. SO as soon as dns resolves here comes the crapstorm. A low bandwidth http attack, a lot got by ddos firewall on the network level which these are hard to stop because they are so similar to a legit user.

So I started getting hundreds of csf connection tracking blocked emails, was checking the site periodically and it loaded fine. So I logged in the box, looked at the load.

Was at .24. When I done netstat command there was hundreds of syns coming in and about 250 ips all connected about 50 times, this would normally kill Apache no matter what CPU/ram and all that you have. So I set connection tracking down to a reasonable level, 60 connections and I figured I would just let them get themselves banned. Looking in the live stats in the litespeed admin panel which is real cool BTW. I was seeing about 400 requests a second. This was eating a Lil bandwidth, all outgoing as that is how the attack works like a massive vamp attack. So about 2000 connection tracking emails later finally gets em all banned. The entire time the load on that box never even got to 1!

So im pretty much amazed how fast and light this http server is. And especially how well it handles dos. I about know for a fact even if you was on a non protected network it could handle as much http as your pipe will give it, and do all this at a low resource load.

This will end up saving me money on hardware upgrades in the future as well. Long review, long story, but I been so amazed by this http server I had to make a review on it. Im sure some geniouses will try to say "If you do this and that with apache you can make it just as good" But check it out for yourselves and see.

View 14 Replies


Litespeed Enterprise Review

Mar 3, 2008

15 days review .. litespeed enterprise web server

We have installed litespeed on our 4 servers ...
2 are cpanel
1 is Direct admin
1 is Plesk ..

All have websites running shopping carts, joomla cms, drupal cms, os commerce, etc....

None of our customers had any problem ... and all of them reported super fast loading ..

static websites load in a zoom ...

also cpanel loads 'like a bullet' with litespeed .. compared to apache on same server .. cpanel loads 2x times fast ...

we had problem of ddos on one of the servers .. now with litespeed its all history ..

also it seems now we can host double websites on same server with litespeed .. it reduces hardware costs wonder uses litespeed ..

we have also tried lighthttpd .. but its too complicated ... litespeed is like plug and play usb ...

also there support is fast and have active forums ...

and they regularly come out with updates and its easy to upgrade ...and instructions in there wiki is simple and clear ..

View 4 Replies View Related

100 Day Review Of LiteSpeed (Apache Drop-in Replacement)

Aug 14, 2007

(This is the first review I've ever written for practically anything so please bear with me. I feel the need to share my experience to try to help others after all the great advice and info I've received around here.)

If you've done everything you think you can do to improve the responsiveness of your websites like add a mysql cache, PHP opcode cache and various other tweaks, I discovered there is still one more easy thing you can do for a big improvement: replace Apache with LiteSpeed. It's way too easy not to try it and you can leave Apache completely intact to go back to at a moment's notice if you so desire.

I call LiteSpeed a "drop-in" replacement because it uses all my httpd.conf and .htaccess settings without modification. This was critical for me as my sites have some very complex rewrite rules. Other solutions like LightHttpd require extensive work to make changes if you use fancy mod-rewrite rules. LiteSpeed does not need any fiddling. LiteSpeed just adds it's own clean little web interface so you can tweak if you want to, but I didn't really have to change anything. Last but not least, LiteSpeed gets along with Cpanel and DirectAdmin without any conflicts. LiteSpeed's so compatible I can literally do this on my server and the visitors don't even notice the difference (except speed of course!)

service httpd stop
service lsws start
(and visa versa)

I discovered LiteSpeed after reading that the main site had switched to it and had great success (they have a quarter million registered bloggers and of course many millions more daily readers).

The main reason I tried LiteSpeed is because it's roughly twice as efficient in memory use and performance than Apache 1.3 & 2. It runs PHP up to 50% faster than Apache and static files get served several times faster (faster than thttpd & lighthttpd). So this means you can either double the number of active connections you currently max out at now, or make a regular website respond nearly twice as fast, or under heavy loads still respond within a reasonable amount of time when Apache would be completely unresponsive.

The last situation was exactly what I was hoping for and LiteSpeed helped me keep my sanity on a bad VPS node.

Basically a couple months into owning my first VPS (after many years of shared-hosting experience) I started to realise many of the industry promises about VPS are an outright lie. You are far from isolated from your neighbours. Any disk load created by bad neighbours, mysql abuse or otherwise, will directly affect you and you are powerless to stop it. It's the most poorly regulated resource on any VPS node and it can be made worse by slack, ignorant or inexperienced hosts who do things like move accounts during busy periods onto and off a node at the root level which ties up the entire node for an hour or more. Under Apache, I was getting timeouts during peak visitor times and that was very upsetting.

On top of my VPS neighbour troubles, no matter how I fiddled with Apache's settings (with all the helpful guides around here) I could not make it comfortably fit within the guaranteed memory limit of my VPS with Cpanel, which I really wanted to keep as it's much easier for my end-users. Switching to LiteSpeed caused a radical drop in memory use. I've seen nearly 1000 people online within a one minute period on one of my sites and it still fit comfortably within my memory limits and stayed extremely responsive.

I've discovered another plus to LiteSpeed along the way that no-one else seems to mention. It's the only server software that "out of the box" seems to serve web compressed (gzipped) pages properly as chunked output. This means a visitor will start to see the page immediately as soon as the first part is sent vs. on Apache, mod_gzip actually de-chunks all the output, waits for it to finish, then compresses, then sends.

Mod_deflate on Apache 2.0 was supposed to fix this but it usually doesn't work properly and I've never gotten 2.0 to do compressed+chunked output on my sites without alot of fiddling and help from PHP. It also doesn't seem as smooth as LiteSpeed's output which gives you that "silky" watch-the-webpage render effect that's mentally rewarding to visitors.

On the downside, there is one reason you wouldn't use LiteSpeed - if you use highly customised Apache mods. LiteSpeed cannot support custom mod's and their directives. It does have a lot built in however that Apache does not, so you may way to examine if you can accomplish what you are trying to do another way.

I started with LiteSpeed 3.1 and when I found an incompatibility with an obscure Apache feature (ie. ErrorDocument's as plain text output: ErrorDocument 404 "Not Found" was not supported) they fixed it for me in a day or so after I reported it on their forum. The same for PHP support of "Apache_Response_Headers". Note I am not even a commercial customer! They are now up to 3.2 which has a few other fixes.

The free version of LiteSpeed has a limit of 150 simultaneous connections (plus the linux stack of 200 more which will backlog). I've never seen that limit hit. It's so intelligent about closing connections as needed that it's not an issue for me. Perhaps on a dedicated server with many virtual hosts this will be a problem. Up to version 3.1.1 that was the only limitation, however unfortunately in 3.2 they have decided to also limit virtual hosts to "5", so that's something else you'll have to consider if you want the free version, otherwise the commercial version has a free trial and money back guarantee.

Some people were upset with me that I wouldn't name my VPS host when I was constantly complaining of troubles but that's just my style when I have nothing nice to say still have to do business with them, so don't name names. But when I have something nice to say about a company, I like to speak up. So I heartily recommend LiteSpeed and hope other people give it a try - especially if you are on my VPS node ;-)

View 14 Replies View Related

LiteSpeed Web Server

Sep 2, 2007

Ive been planning to try LiteSpeed Web Server on my cPanel webhosting servers, but cant decide which license is best for my 2 x quadcore Xeon E5335 system and 2 x dualcore Xeon 5130 system.

View 4 Replies View Related

Litespeed Server Performance

Sep 29, 2009

I was just playing around with litespeed and I thought I would switch back to apache for a few min to see how the server reacts. The load with litespeed was 1.00 - 3.00. I switched to apache the load jumped to 28.00 - 35.00. Its amazing how litespeed is handling connections.

View 14 Replies View Related

Server Being Attacked Via Http

Jun 1, 2007

my friend's server is being attacked, the http processes shoots up causing the server load to go above 200 in minutes of starting httpd which causes server to die.

this is how the apache web server's access_log would log a normal http request;
" - - [01/Jun/2007:22:13:21] "GET /folder/name.gif HTTP/1.1" 200 877 [url]"Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1)"

Today when the http load increased we saw hundreds of following requests;
" - - [01/Jun/2007:22:13:21] "GET /? HTTP/1.1" 200 16305 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

You see the difference between a legitimate http access log entry and the above one is that the legitimate one shows the filename(GET /folder/name.gif) and domain name being requested whereas the second one shows ("GET /?")

Above requests continously originate from 30 to 40 different ip addresses. Most of them russian ips, and many form US and canada to.

When i do a grep "GET /?" in access log there are thousands of these which started just today.

I cannot block each ips because i feel they have hundreds of IPs to initiate these requests from.

View 14 Replies View Related

Running FTP And HTTP Server From PC

Oct 21, 2007

I am trying to install a FTP Server in my computer so that I can simply login into my own computer to grab important files at work... since carrying laptop and loosing flash drives are becoming annoying .

In my home computer I have Linksys Router, and Verizon as my ISP (blocks port 80, 21 I believe).

Since Verizon blocks those ports the configuration has become a nightmare.

Using BulletProof FTP Server I made the FTP Server listen to port 5000. And in my router's forwarding section I opened the port 5000, and made it listen to (Port Range Forwarding, TCP UDP both).

I did the same for my Apache server and made it to work with port 443.

When I access [url] the web server loads up fine.

But when I try [url] it doesn't load up, where is my IP.

When I visit just my IP in the web browser, it loads up the Router Configuration page.

And the FTP server doesn't connect when I try with the

View 1 Replies View Related

How To Detect Is It Domain Name Server (DNS) Or Http Down?

Aug 1, 2009

If i put on uptime checker,and downtime is detected,downtime will be reported if dns is down or if http server is down.So question is what i need to do to see what exactly went down?For network uptime i can ping ip adress,but for these two i really don't know.

View 3 Replies View Related

Best Http Software For Image Server

May 11, 2009

I need to find out what would be the best software to run an image website for one of my clients, there is only one domain so I've considered using LiteSpeed Standard (Free)... What server do you think would be the best?

All I need is PHP support for the image viewer software.





View 14 Replies View Related

How Can I Http Access A Server Without A Domain

Mar 10, 2008

I've setup a dedicated server that is currently running with a domain bound to it. However this time I want to setup a centos 5.1 + latest apache 2 + bind 9 server that can only be connected to by IP address and doesn't have a domain name. So what do I need to modify in the below files to do so:

First of all will I even need bind at all? I already have it setup and (mis-)configured but I guess if I don't need it I can just take if off of autostart and stop the process "named".


options {
pid-file "/var/named/chroot/var/run/named/";
directory "/var/named/chroot/var/named";
query-source address * port 53;
allow-query { any; };
allow-transfer { };
recursion no;
notify no;
version "unknown";

logging {
category default { null; };

zone "" { type master; file ""; };
I don't even want the zone have in its name but that's just there so I could show you how I'd include

$TTL 14400
@ IN SOA (
86400 ) 14400 IN NS 14400 IN NS

localhost 14400 IN A
www 14400 IN A
I'm not sure what to do about those references to here, they shouldn't be needed but without them I don't know what to put here. ^^
Obviously I can't use those nameservers...


The only thing missing from this file is "search" at the top, is that needed even though I won't really have any domains used by this server?


# Do not remove the following line, or various programs
# that require network functionality will fail ....

View 7 Replies View Related

All Http Requests To My Server Redirected

Oct 8, 2007

There seems to be some problem with my server, none of the websites hosted on my server are accessible, the http requests either return a blank page or a page with a red quare on the upper left hand corner.

I am not sure if this is some kind of infection or DNS problem or a problem with memory apache is taking up
as i have thousands of virtualhost entries in my access log accumulated over the years out of which only a few 100 websites i am serving presently, but never deleted the non-exitent virtualhost blocks.

At times the websites are opening but most of the times they are not. And when they do not open my http requets are not logged in apacha access log.

Even the customers have reported the same problem.

Also, just four days back i had a strange issue where all
http requests to my server would take me to [url].

I can SSH to server, and everything else is working fine.

View 3 Replies View Related

Uploading Http Links To Ftp Server

Aug 29, 2007

tried to download files from http links to my ftp server. i looked all over the forums but could not find any services. google spitted out this one. [url]Well, it really does help to upload http links to an ftp server and move files from one ftp server to another. does anyone know other services or free scripts that help to do this?

View 0 Replies View Related

HTTP 500 - Internal Server Error In IIS V 5.1

Mar 15, 2007

I'm using IIS v5.1 on WinXP SP1 and I encountered this error (Page cannot be displayed.....HTTP 500 - internal server error) all of a sudden. now, i've been using my Web server with no hitches, but now I can't open any pages on the server that run server side scripts so i reinstalled it and still get the same "Page cannot be displayed" or I get part of the source code for the server side script. Pinging the server shows that its ok, it replies. and regular pages with no scripts still run with the http protocol in the address. Any ideas on how to get past this problem?

View 2 Replies View Related

Apache :: Possible To Do P2V Migration Of HTTP Server 2.2

Jun 27, 2013

its possible to do a P2V migration of a Apache http server 2.2

Present environment:

Windows 2003
Apache http server 2.0.63

There are 2 webservers (running Apache) for load balancing. The backend server runs an application which uses an oracle database. Is a P2V migration of the web servers possible?

View 2 Replies View Related

How To Setup The Apache Server To Allow Http Downloading

Sep 22, 2009

I installed apache, mysql, php on my windows vista laptop, and want to test http downloading. This means when selecting a file (for example, contact.php) from a page, and then click download, it will be downloaded to my desktop.

Do we need to install any other softwares to do that?

View 10 Replies View Related

HTTP To HTTPS Redirect On Zeus Web Server

Jun 16, 2009

I have done this with .htaccess on apche but I am looking to do HTTP to HTTPS redirect for all requests on Zeus server using rewite.script

what I want basically is that all request to [url]goes to [url]

View 0 Replies View Related

Displaying Server Load Average Through HTTP

Nov 26, 2008

to display the server load average through HTTP. How may I do that?

Please note that I have all insecure functions disabled, such as exec, system, etc... But I have root access.

View 11 Replies View Related

Server Slowdown/crash Due To HTTP Request

Jun 13, 2008

I have a Linux server running some reasonable setups:

Opteron 180, 4 GB RAM, running 8x 36gb 15k scsi with hardware raid 10 -- this is one of the servers from WebNX advertised here not long ago

Running CentOS 4(?), Apache2/MySql 4/PHP5.2, the normal stuff.

I have only one main site on the server, which runs a pretty old PostNuke CMS in Chinese ( Phoenix) + PNphpBB2 + Gallery 1.5.7 (all integrated into PostNuke). This site is pretty light in "human" traffic, getting about 20K hits per day.

Now, the problem I have noticed with this site, is related to the many MP3 files stored in the Gallery albums. There are lots of HTTP requests to these files, most maybe from Chinese search engine bots (judging from IP), that slows the server to a crawl and even crashes Apache. This happens in the late hours here when it's day time in China. As a matter of fact I just did a reboot, and in 5 minutes there are more than 1000 HTTP requests to MP3 files resulting in a traffic of 2.1+ Gb. So within minutes, the server is brought to its knees again and I can't even get the "apache status" from CPanel now: "Unable to retrieve apache status".

The company that manages the server for me said there's no security problem here. We have installed an Apache extension to limit the number of simultaneous requests to media files to 1. However that doesn't seem to help.

View 6 Replies View Related

Apache :: Cannot Get Server To Respond To HTTP Request

May 6, 2013

I have an Xitami server and am migrating to apache httpd. I have the regular server working fine. I tried configuring ssl, but no requests are coming through. I know 443 is open on the router because it works fine under Xitami. I checked the logs and it si starting fine. I am attaching my httpd.conf and the startup log. If I try to access the website using https, it just times out and nothing goes in the log file. I replaced my domain with I have tried many different examples, but cannot get it to work and am not sure what to do.

View 5 Replies View Related

All HTTP Requests To My Server Gets Redirected To Malware Websites

Jul 24, 2009

When i try to open any website hosted on my server (around 50 of them) i am being taken to following malware website;

This is a problem with my Limnux server running Apache and not a virus on my local computer as customers from all over are reporting the same issue.

As soon as i restart Apache eveything returns to normal with no such redirects.

I think my server is being attacked causing http requests to get redirected to some malicious website.

This issue would resurface almost every hour and would not go away till i restart apache.

So far my Datacenter techs. have not been able to identify the cause of this.

View 14 Replies View Related

HTTP 500 Internal Server Error After Vbulletin Installation

Mar 30, 2008

i get this error after installation my vb in my site

View 14 Replies View Related

Http Server And MySQL Process Appears All 3 Times

Jan 10, 2008

in one of our dedicated servers, when we go to WHM/Service Status / CPU Memory MySQL usage.. http server and MySQL process appears all 3 times...

is that normal?

i attach an email to be more clear.

View 3 Replies View Related

Good Server With Fast HTTP Speed Capability

Jul 31, 2008

currently i am on OVH...and ovh's speeds are amazing when it comes to torrenting..and problems whatsoever till now..but i am looking for a modest budget server than will give me good http speeds average 400-500KB/sec ...i dont care much abt the hard drive space..even a 40 geg hard drive will do..but all i need is a good RAM..i am expecting 300-400 max users to download from the server using http..concurrent connections may be not more than i definitely need a good RAM..3 gegs i presume? budget: preferably less than 100 dollars

View 2 Replies View Related

Apache :: Unable To Set Up Password Protection On HTTP Server

Apr 24, 2014

I'm trying to set up password protection on an Apache HTTP server, and it's not working.

First, the environment: Apache 2.4.4 installed with XAMPP Control Panel 3.2.1 under Windows 7 Professional.

http.config says "AllowOverride All."

The .htaccess file in the protected directory says:

htpasswd -c .htpasswd samples

htpasswd prompted me for the password twice, and I entered it twice. When it quit I had a file named .htpasswd in the subsidy directory. I typed it and its contents looked correct according to the examples I've seen.

Then I restarted Apache and tried to load a page from the directory. The browser simply prompted me for the username and password over and over.

The Apache error log says, "AH01617: user samples: authentication failure for "/subsidy/filename.html": Password Mismatch."

I deleted the .htpasswd file and ran htpasswd again, specifying a different (very simple) password. I also confirmed that caps lock was not on both before and after. I restarted the server, tried to load a page, and got the same problem.

Apache seems to think I'm entering the wrong password, but that seems impossible when I've just defined it myself -- and I've tried twice, intentionally choosing a very simple password the second time. If the message means what it says, the cause must be something very different from the obvious one.

View 1 Replies View Related

Apache :: How To Change URL Of HTTP 302 Returned By Proxy Server

Jan 31, 2014

I'm running Apache 2.4.7 on a RHEL 6.4 server. I'm using the Oracle WebLogic Proxy Plugin ver 12.c to connect to a back end server.What's happening is that Apache answers URL.. and proxies the request via the WebLogic Proxy Plugin to Unfortunately, the downstream system encounters a problem and issues an http 302 redirect to I would like to have Apache intercept this http 302 and redirect the client to URL...

View 1 Replies View Related

Apache :: Load Balancing / HA With HTTP Server And JBoss AS 7

Nov 22, 2013

I am tried to integrate Apache HTTP server and JBoss app server 7 with mod_jk module plugin in Apache.I have two instances of Jboss running and Apache server sends requests to them.I have added following code in "httpd.conf" of Apache:


LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_http_module modules/

JkWorkersFile "D:/Program Files/Apache Group/Apache2/conf/"
JkShmFile "D:/Program Files/Apache Group/Apache2/logs/mod_jk.shm"
JkLogFile "D:/Program Files/Apache Group/Apache2/logs/mod_jk.log"

[Code] ....

But, though I have configured this way, when my worker1 goes down,Apache is not sending requests to worker2 and I get "Service Temporarily Unavailable" message.

View 1 Replies View Related

Apache Down With 503 Error / Http Requests Get Redirected / Is Server Hacked

Jun 4, 2009

My Linux Server's Http Daemon (Apache) would stop serving websites ever so often, as soon as apache is restarted the error fixes iteself only to resurface within few hours.

The apache process would still be running i.e. apache does not die but no websites hosted on my server would be accessible from browser. And when this happens the apache logs do not log any http requests.

Instead when this happens all http requests to my server would be redirected to some weird Trojan website and my Norton Antivirus would show an Alert/Warning, for example;
"Browser exploit at was blocked"
Risk Name: MSIE WebViewFolderIcon ActiveX Control BO

or another error like;
"Auto-Protect has detected Trojan.Fakeavalert".

At first i thought the problem could be with my Laptop/ISP so i logged on to the server via SSH and opened try to open a website using command line "lynx" and it shows following error;
"Alert!: HTTP/1.0 503 Service Unavailable".

Now if i assume my laptop were to be infected, then as soon as i restart my apache and visit eveything returns to normal with no such warnings. Why do i see those norton error messages only when apache is down with 503, and when apache is down with 503 how come the http requests always get redirected to some suspicious websites and nothing gets logged in apache error log?

I think my server is being attacked causing http to get unresponsive and thereafter http requests to my server are redirected to some malicious website, is this correct?

Also, i suspect this is a php script exploit as some customers have reported that google have blocked their website due to security reasons, i found <iframe> tage inserted in some php pages which i fixed.

Also, another thinh i noticed;
when apache responds with the 503 it is referencing PHP 5.1.4 in the header response:

[root@]# curl -I (my server ip)
HTTP/1.0 503 Service Unavailable
Server: Apache
X-Powered-By: PHP/5.1.4
Retry-After: 20

I am running PHP 4.3.9m why does apache responds with PHP 5.1.4 when this 503 error surfaces?

Also, since my apache was dowan with 503 error a customer mailed in today saying;
"It seems that my site is regularly down, and the winlogon virus is involved."

I suspect this is again due to the fact that http requests start getting redirected?

View 3 Replies View Related

Setup Apache HTTP Server 2.0 To Run On Local Machine And Execute PL Scripts

Jan 24, 2014

I am 3 days new to figuring out how to get Perl scripts to run on my Windows XP box. I downloaded and installed the Apache installation file "httpd-2.0.65-win32-x86-openssl-0.9.8y.msi" and the "strawberry-perl-" from the site in hopes that I could get a feedback form to work for a web site that I am working on.

Out of the many pages that I have viewed online of how to configure the Apache Server, nothing has given any favorable results with their explanations.

My last attempt was [URL] ..... where I could not get the example to work. I did the changes to the Apache file "Edit the Apache httpd.conf Configuration File" fairly easily but I must be having problems with the because I can't get it to work.

I used a different version of Perl (Strawbery from because it installed without giving me an error pop up after installation) and after copy pasting the script, in an attempt to get it working, I ended up changing it in hopes that I could get it working, shown below.

print "Content-type: text/html; charset=iso-8859-1

print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";

This is what the site says to create the program with:

print "Content-type: text/html; charset=iso-8859-1

print "<phtml>";
print "<body>";
print "Test Page";
print "</body>";
print "</html>";

where I assumed that "#!" meant the "C:" drive and substituted the first "/perl" with the folder the Strawbery Perl had installed itself to and left the second "/perl" in the first line thinking that it was referring to the executable in the "C:strawberryperlbin" folder.

This is the error I get when trying to get the script to run when typing "localhost/" in the address bar.

"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Know how I can change the title of this post to read "Configuring Apache HTTP Server 2.0 to run Perl in Windows"?

View 1 Replies View Related

Redirect Http:// To Http://www

Jun 23, 2008

Does anyone know how to redirect the URL of a host so that it always goes to the www subdomain? Is this done with RedirectMatch or is a rewrite rule?

View 3 Replies View Related

Http Messed Up But Not Http

Mar 31, 2008

where when I view my website through http using Firefox, it never stops loading. If I use IE, then I get a "page can not be displayed" error.

If I use https then everything works fine.

I have noticed that if I delete lines from the files, I don't have this problem.

If I try viewing images (so I know it can't be an html of php problem) some look fine (the very small files). But, larger files, around 168 kb, load halfway and the second half is distorted (green and purple chunks and other random colors and lines).

If I view the image through https, the image is perfectly fine!

If I put my site through's validator (just to see what it would report) it says "500 Line too long (limit is 4096)".

My website used to work, so I know there isn't any code in the pages that would cause this to happen.

Is there an Apache setting I check? Perhaps it is sending a really long header that I can not see? I am not really sure what to do. I have made my site to force https but it's slow and not signed.

View 6 Replies View Related


Mar 31, 2009

In a 2 X Quad Xeon server with 16GB RAM and 2 X 500GB on DirectAdmin.

IOwait is less than 10% most of the times.

So litespeed told me to go with a 2 CPU core license.

1. So since i going with 2 CPU core license. It will only make 2 cores user litespeed for PHP out of 8 cores? what other cores gonna do? only static content? Or other cores gonna use Apache for php? can you plz explain.

2. Do we have to configure cache like mod_cache, mod_disk_cache, and mod_mem_cache etc with litespeed too? Or it has its own methods of caching?

3. Should use their PHP LiteSpeed SAPI over normal PHP?
Is there any compatibility problems with scripts like Vbulletin, jamroom?

View 3 Replies View Related

Copyrights 2005-15, All rights reserved