Server :: Lighttpd - After Installation Could Not Get Web Pages

Aug 9, 2010

I have installed lighttpd from svn as

Code:

Then I created four directories

Code:

And ls -l for following is

Code:

So permissions are correct upto here.

Then

Code:

Changed the following to

Code:

To

Code:

Then

Code:

Now I run

Code:

I can see

Code:

lighttpd is running.

Following is lighttpd.conf [url]

I created some html pages in /var/lighttpd/ in a directory called jp (which I had made).
Permissions of Document ROOT

Code:

And the directory

Code:

I was not able to see the webpages [url] but I was able to see [url] so why I could not browse the directory jp

I am getting a 404 not found error. Where as the page exists.

View 4 Replies


ADVERTISEMENT

Slackware :: Function To Check If Lighttpd Running Has Exception When There's No Lighttpd

May 7, 2010

what the procedure is to file bugs against slackware so I will post here. The rc.lighttpd I have works but the function to check if lighttpd is running has an exception when there's no lighttpd.

View 2 Replies View Related

Server :: Web Server Sees The Pages But Not The Folder That Has All The Images For The Pages

May 14, 2010

I'm very new to Linux, and I have ran a Windows XP server before, with a Apache2 Server software for Windows. and didn't have any problems with it, but I really want to set this server up with Linux.

The server is running, but the only thing that comes up in the browser, is the html pages, the pages call all the images from a folder /images/ but for some reason I can't get it to pull the folder up. None of the graphics show on any of the pages.

I also have a VirtualHost setup, and have another website set up in the DocumentRoot with the 2nd site, but it won't come up ether, even tho it is listed as the 2nd VirtualHost, and have that folder set up as the DocumentRoot.

I'm just using IP Addresses for now till I get this all sorted out.So if I enter the IP the main page comes up, just no graphics. if I enter the IP Address/2ndSiteFolder/ I get a directory listing with the 2nd site folder listed, so now if I click on the 2ndSiteFolderName, it comes up as IP/2ndSiteFolder/2ndSiteFolder/ Now the 2nd site comes up, and so does all the Graphics for that site, even if I go to some of the other subfolders site. So its just weird. I don't know what I need to do to get this to work right.

I know it has to do with setting up the folders for VirtualHost, I just don't know what it is. I have been working on this for a week, and I'm not getting anywhere..

View 9 Replies View Related

Server :: Lighttpd Anti-hotlinking For Images ?

Jan 7, 2011

Lighttpd anti-hotlinking for images i just want these domain to link my imgages (test1.com,newtest2.cn,800keke.net,800org.com.cn),the other site will be redirect to [url].

lighttp configuration :

Code:

This configure onle effect to test1.com. no effect to (newtest3.cn,800keke.net,800org.com.cn. i still dont know why..

View 1 Replies View Related

Server :: Multiple SCGI Servers With Lighttpd?

Jul 16, 2009

I'm trying to configure lighttpd to send SCGI requests to different ports, depending on what file(s) are accessed. Is this possible? This is what I've tried, and it hasn't worked.

Code:

$HTTP["url"] == "URL1" {
scgi.server = (
"/RPC2" =>

[code]...

SCGI requests aren't sent to the correct port, regardless of what file is accessed.

View 1 Replies View Related

Server :: CentOS 5 Make Qmailadmin Work With Lighttpd?

Aug 20, 2010

I have been searching in the forum and google but still not lucky enough to figure out yetI have a lighttpd server runningbecause apache consume so much CPU and memory) andqmailtoaster (just setup).Here is the configuration in cgi modules:

Code:
cgi.assign = ( ".pl" => "/usr/bin/perl",
".cgi" => "/usr/bin/perl",

[code]....

View 2 Replies View Related

Server :: Installing Lighttpd From Svn Unable To Start Script?

Aug 4, 2010

I have followed all the steps as mentioned on documentation.except automake (I am not clear as where to make automake)

I logged in as Root on a Ubuntu system
and then

Code:
cd /opt
svn checkout svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x/
cd lighttpd-1.4.x
./autogen.sh
./configure
make
make install

After this what do I need to do to be able to start the lighttpd ?After this I did not found any script /etc/init.d/lighttpd. so what more has to be done ?

View 14 Replies View Related

Server :: Lighttpd Access.log File Is 73 GB - How To Clear It Partially

May 19, 2010

I have an Ubuntu server running with lighttpd.

The file, access.log has utilized 73GB at: logs/lighttpd/, which contains data since 3 to 4 years (approx.)

So, i need to have only last 6 months logs in the file and the rest to be cleared.

View 4 Replies View Related

Server :: Lighttpd - Name Index.html Of Additional Domain?

Apr 13, 2011

For the 1st domain,say domain1. I name the index file as:

[code]...

3 identical files. It works seamlessly. On browser its webpage can be evoked. Now I add another domain, say domain2. How shall I name its index files?

[code]...

View 1 Replies View Related

Server :: Lighttpd - Slow HTTP POST Attack

Jan 31, 2011

[url]

I ran across the above article, which described a DoS attack in which requests are sent very slowly to the Web server. I'm running lighttpd 1.4.28 on a Gentoo Linux server, and I'm wondering if there is anything I could do in preparation to defend against such an attack.

A bug report [url] seems to indicate that there was a patch in place already against this sort of attack, but I wanted to be sure that was the same thing and if there was anything else I needed to do.

View 3 Replies View Related

CentOS 5 Server :: Installed Lighttpd - Get 404 Not Found In Browser

Jul 31, 2010

This is what I did till now and all was installed with success:
yum update
wget [URL]
yum install lighttpd
chkconfig --levels 235 lighttpd on
/etc/init.d/lighttpd start
Must I configure something else too? if yes... what?

View 2 Replies View Related

Server :: Lighttpd: Backend Is Overloaded + Multiple Php-cgi Processes In D State?

Sep 24, 2010

I've got this problem for a few weeks and I cannot figure out. I'm pulling my hair out. I have a server installed PHP, lighttpd and redis. Sometimes, I got the following messages in the error log of lighty: Code: 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth er backend instead: reconnects: 0 load: 567 2010-09-24 13:57:33: (mod_fastcgi.c.3011) backend is overloaded; we'll disable it for 1 seconds and send the request to anoth
er backend instead: reconnects: 0 load: 626 and:

[Code]..

View 3 Replies View Related

Software :: Cronjob Schedule To Run Php Script On Lighttpd Server Internally?

Mar 29, 2011

I know that you can access and run any script of the web by wget:

Code:

wget mydomain.com/page.php

But this is literally accessing it externally through the web, i think that it is safer and faster to access the script internally. I am using lighttpd to host my php pages, and is there a way to do that? I have had some hosting experiences, the cronjobs on the hosts let u input:

Code:

* * * * * php /public_html/path/page.php

View 2 Replies View Related

Fedora :: Apache Not Parsing Php Pages / Trying To Run Php Script In Browser Its Not Opening Php Pages?

Feb 19, 2010

I have a Cent OS 5.4 32 bit final installed in my dedicated server.

I used to run lighttpd with php in my server until now and all was fine.But yesterday I changed my website which needs apache to run. So installed apache using yum install httpd command.

Then I added the virtual host name of my domain in webmin panel but when i try to run my php script in browser then its not opening php pages.

Instead it downloads php files like index.php when i open in browser.So I guess apache is not able to compile and run php pages. Only html pages are opening right now..

View 2 Replies View Related

General :: Man Pages Not Displayed / Saying Formatting Pages And Then It Is Displaying Blank Page?

Sep 9, 2009

when i input man <cmd>.....it's saying formatting pages....n then it is displaying blank page.

View 6 Replies View Related

Server :: Apache Server - Adding Web Pages ?

Oct 14, 2010

I rented a server to run CS 1.6 game servers. I had someone install Apache and configure my server to be able to use control panel for my game servers( i am running 4 gservers and have 5 ips = 1 ip is free). When i type my primary ip in the web browser it displays the Apache test page.

My question is can i add pages to the Apache without messing up anything with the control panel or my game servers. I am familiar with html. My primary ip is used for 1 of th egame servers but i can change that if necessary. And if possible to add pages how to add a site name, sth like [url] instead of entering the primary ip to display the content.

View 4 Replies View Related

Server :: Lighttpd 1.4.28 Won't Start - How To Start It

May 25, 2011

Fresh install, followed the directions,

# ./configure --with-mysql --with-openssl --with-openssl-libs=/usr/lib (MySQL 5.5.12 & OpenSSL 1.0.0)

Everything seemed to go well enough. Stock lighttpd.conf. However, it won't start on boot. Not even manually via:

# /etc/init.d/lighttpd start
or
# /etc/init.d/lighttpd -f /etc/lighttpd/lighttpd.conf (came across that while scouring Google).

No messages, no logs, nothing. ?

View 17 Replies View Related

Server :: Php Blank Pages On Apache

Dec 13, 2010

Im using fedora 8 and have installed php5 ,and mysql and i see only php blank pages ,some idea? must be php.ini, but i am newbie installing php and apache, i disabled selinux, and grant all the permisssions to excecute..

View 3 Replies View Related

General :: Uploading Pages To Server As One String?

Feb 11, 2011

authors recommended to upload pages of a site in a condensed form to the server to save in uploads and downloads by visitors. This involved removing all unwanted spaces and making one single string whenever possible.Is this approach still encouraged?Is there software that does that and respects the line-oriented scripts like Javascript embeded in HTML code?

View 1 Replies View Related

Server :: Apache Configuration - Pages Do Not Load

Mar 20, 2010

I have apache running on my server, and also Zoneminder, a surveillance system running on the same machine. Both services runs without glitches, and I think apache's config as well as ZM's config are fine. I am not sure I understand how apache (not to mention the whole thing zoneminder, apache, web browser...) works. Pretty hard to manage when you dont know what you are doing. Also, when I try the supposed to work zoneminder webpage in my web browser, I get nothing (a blank page), or sometimes a "Not found" error message. The latest seems to be from apache because it is the same font as the "It works!" message when I try http://localhost:80

The only bit of information I have so far is in the apache error log (/var/log/httpd/error_log) and it says:
Code:
[Sun Mar 21 00:35:14 2010] [error] [client 192.168.0.100] script '/srv/httpd/htdocs/zm.php' not found or unable to stat
[Sun Mar 21 00:46:04 2010] [error] [client 127.0.0.1] File does not exist: /srv/httpd/htdocs/zm
It seems that the "zm.php" is missing.... That would be why Apache cant find the page?

View 14 Replies View Related

Server :: Apache2 Not Serving Html Pages ?

Dec 24, 2010

I just did yet another fresh install of OpenSuse 11.1, (no DVD drive otherwise I would use the newer version), all updates have been performed, I installed apache2 and it's modules, php5 and some of the modules I needed, mysql, sshd for local only access, and webmin, postfix is used only for local mail between php scripts and the system, mainly because out-of-the-box, postfix is an open relay, and can take weeks to configure as an SMTP server, so I have to use php scripts that do not use a mail server, anyway.

The problem is, apache2 only seems to know how to serve php files, html files only get shown on ANY browser as source code not the contents.

I've been trying for 3 weeks,,, messing with this option, setting that option, and screwing up the system, hence reformatting and re-installing OpenSuse several times, so if anyone wants to try and get apache to serve html files properly and to have apache use mod_rewrite as default on ANY folder whether inside or outside the document root, I can give that person full ssh access. I've got to the point now, that I don't really give a damn what happens to the server.

What I should be able to do, is, leave the apache and php setting as default,,, upload either an html or php file to the document root and direct a browser to the address, and it'll work without changing a single item, the same is if that file has rewrite, it should work flawless, or if I upload an html or php file to a folder outside the doc root, I change the doc redirect to point to the folder, and it should work without changing anything else.

View 14 Replies View Related

Server :: Dns Causes Web Pages To Open Slowly - 10 To 15 Sec Delay

Mar 29, 2011

the web page will eventually open up or if i hit refresh 2.6.35.11-83.fc14.i686 bind version 9.7.3 i have disabled ipv6. using ie for browser.

[code]....

View 5 Replies View Related

Server :: FastCGI And Apache Not Loading Pages

Jul 9, 2011

I am trying to set up my Apache server with FastCGI as the CGI engine. It will be mostly running PHP, but I may add Perl or something else later. I started from a completely fresh install of Ubuntu 11.04 with every update available. I used the install CD to install a LAMP server as part of the system install.I am using the tutorial at URL...to add the FastCGI functionality. I am having some problems with getting everything to work.The first problem was that apache2-suexec-custom wouldn't accept a different document root. I fixed that by compiling apache2-suexec from source with the document root changed to the correct path.

The next problem is that every php page I load throws a 500 error. Apache's error logs show that FastCGI isn't returning the page data correctly to Apache.

View 1 Replies View Related

Server :: Squid (probably) Weirdness Does Not Allow Some Pages To Display?

Sep 18, 2010

I am experiencing a problem which I lack the knowledge to crack at this stage. I run a home server (2.6.28-19-server #64-Ubuntu SMP) which firewalls and proxies for my LAN (including 2 linux boxes, a vista box and a win7 box).Most of the time this works well. Very occasionally we will run into a website which will not display at all on the LAN boxes.Examples: for a long time I could hit the forums.egosoft.com site but not the egosoft.com site. Now my wife can't hit www.boden.co.uk. I'm pretty sure that the problem is in the Squid3 config. solation testing:Run the vista box direct into the ADSL modem: get the website.Hit the website using Lynx through SSH on the server box: get the website.Try to get the site on a browser (have tested with IE8 and chrome) on any of the win boxes through the proxy - no joy. DNS error.Firefox on Ubuntu desktop from the linux client boxes gives an error message about an unrecognised form of compression.I can only assume that I've misconfigured the Squid3 proxy in some way - it works for 99% of sites but fails utterly on others.

View 9 Replies View Related

Server :: Viewing Web Pages Of A User - Squid

Jan 5, 2011

Suppose when I install squid proxy server Can I view the web pages visited by a particular user/machine in a particular session? I think we can analise the information by the log files of squid. But can I view the page(static)?

View 6 Replies View Related

CentOS 5 Server :: Some Pages Blank After Upgrading To PHP 5.3 / Fix It?

Jul 28, 2010

I installed PHP 5.3 from remi repository and now some PHP pages end up as blank pages. Joomla pages load with no problem but iDevAffiliate pages end up as blank pages. Could it be something in the php.ini file? I have no idea where to look. Any ideas?

P.S.: I run CentOS 5.5 and MySQL 5.1

View 4 Replies View Related

Ubuntu :: Setup A Local Web Server To Test PHP Pages?

Aug 11, 2010

I have downloaded the Apache web server so I can set up a local web server to test my PHP pages. The download automatically went into the default "Downloads" folder instead of the /opt folder where the Apache instructions said to download the file to. I have tried to move the file from the Downloads folder to the /opt folder but am denied access - says I don't have enough privileges (or some such thing?). Bummer.

So I tried to use the terminal to install the file that I downloaded from Apache (following their instructions - actually copied/pasted the command line so there would be no typo problem) - no joy.

The first thing I was instructed to do was to enter the su command, which I did, and was asked for a password. I have tried every password I have ever used on this system and I receive the following:

su: Authentication failure

and it returns me to the prompt. What is my password?

I checked the archives for similar problems and came up with zero relevant hits.

View 9 Replies View Related

Server :: Changed Apache Port, Now Pages Won't Display?

May 16, 2011

I just tried changed the port that apache runs on from 80 to 8080 (I need port 80 for a difference service so I am changing the apache port). After doing this I load 127.0.0.1:8080 in a browser and get a 404 error generated by apache, if I change it back to 80 it works fine.

View 2 Replies View Related

Server :: Pages With SSL Not Working - Apache Fails To Load

Aug 13, 2010

I have 2 servers that are mirrored. They host 3 separate websites. Two of these websites are regular HTTP and the other is HTTPS with Digest authentication as well. The reason there are 2 servers is because one is a primary and the other secondary in case the primary goes down. Recently I decided to upgrade the secondary server then make it the primary server. I have done most of the configuration and the sites using regular HTTP are working perfectly fine. The page using SSL is not. Apache fails to load and here are the errors I am receiving the the error log file:

Code:
[Fri Aug 13 09:27:00 2010] [warn] RSA server certificate CommonName (CN) `newserver.domain.com' does NOT match server name!?
[Fri Aug 13 09:27:00 2010] [error] Unable to configure RSA server private key
[Fri Aug 13 09:27:00 2010] [error] SSL Library Error: 185073780 error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch

For the first warning, I cannot find anywhere that says the CN "newserver.domain.com", only what the CN is in the SSL key. I have no idea where to even start with the other errors.

View 1 Replies View Related

Server :: Configure Apache To Execute Php Scripts / Pages?

May 14, 2009

Most of my googling odysseies lead me to articles which talk about compiling apache & php from the source as this is touted to be more flexible. But the problem we have is this...we already have an apache 2 web server running. Now how do we serve php pages of it.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved