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
ADVERTISEMENT
Apr 6, 2011
I have displayed web pages (e.g., index.html) under fedora 4, 5, 7, 8 before with no difficulty. Now I troed to do similar thing under Fedora 12, and I cannot display index.html. Is Fedora 12 special? I did '#tail -f /var/log/httpd/error-log' and noticed a line:
"SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0"
Is the SELinux policy blocking me from displaying index.html page?
View 14 Replies
View Related
Mar 9, 2010
I used wget -r to get all the web pages that were linked from index.html. The pages listed in index.html are all chapters. After using wget -r, all the chapters are now in the same folder on my local hard drive. Is there a way to build the chapters in their proper order into a "long"/"full" web page, rather than simply having each chapter as a link/next link on a previous page?
View 9 Replies
View Related
Aug 16, 2010
Do I need to restart the webserver if I make any change in the file index.html? Or should the changes get reflected when I open the page again without restarting the service?
View 3 Replies
View Related
Nov 25, 2009
I have configured web server now i want add additional web domain to my web server how can i add it.
View 2 Replies
View Related
Mar 3, 2010
Basicly just installed a fresh version of Cent OS 5.4 with apache httpd installed automaticly during the installation. The http daemon is running and when navigating to localhost i get the welcome cent os apache page thingy. The problem is when i put an index.html file in /var/http/www then try and navigation to localhost I get a 403 forbidden error.
View 2 Replies
View Related
Jan 4, 2010
I have a ubuntu 8.04 server running apache2 and would like to allow a CGI script to be executed when visitors come to my site.The purpose of this is to determine which browser the visitor is using and redirect them to the relevant version of the site.
View 9 Replies
View Related
Jul 1, 2010
I just installed linux. How can I change the index.html file?
my dir is var/www/index.html
it doesnt allow me to delete it the index.html (permission denied) I can't move a file into it either. (permission denied)
View 7 Replies
View Related
May 26, 2011
I'm having a bit of trouble getting my index.html to display. when i use [URL] and type in my dyndns url i just get "index of /" and not the index.html page
ive got a index.html in var/www and home/gav/public_html and set chmod -R 755 to the index.html
and still no joy....
gav@lapfrog:/etc/apache2$ gksudo gedit httpd.conf
Userdir public_html
Options +Indexes
Options All
[Code]....
View 7 Replies
View Related
Sep 25, 2010
I need a script that can do this: A script that searches all directories and subdirectories for .html files When a .html file is found it creates a index.html file in that folder. It then edits the index.html file and inserts links to all of the .html files that are in that folder into the body. If no .html files are found, it searches for folders. It then creates a index.html file with links to all of the folders.
View 4 Replies
View Related
Aug 25, 2011
My setup is two laptops connected by crossover cable. One runs Windows xp the other Fedora 13. Neither is connected to internet. I'm using a subnet of 192.168.1.x On Fedora eth0 is up, apache runs because it creates pidfile. Everything pings fine. Windows xp ip pings fine from command line. Gave Windows xp a static ip of 192.168.1.1 mask 255.255.255.0 and gateway 1.2, same as eth0. xp says it sees the server. eth0 is up.
DirectoryIndex looks at index.html. I created that file with very simple code and put it in document root. Document root permissions are 755. Access_log 770. Error_log 644. Apache User 755. Listen 80 When I type the ip for eth0 (192.168.1.2) into firefox, firefox gives me an error message - can't find server. The connection status says its connected.
The error log includes a line: [warn]./mod_dnssd.c:No services found to register I don't know what this means. Apache is not writing to access_log. When I cat the path to access_log I get nothing, then a command prompt. I'm looking for the part I'm missing that will let Apache serve that index.html file to firefox so I can see how my code looks to firefox as I go.
View 6 Replies
View Related
Mar 4, 2011
Whenever I try to edit my index.html file with Winscp (SSH), it says I don't have the permission to do so. Is there anyway I can change that?
View 4 Replies
View Related
May 20, 2010
Today, the power was suddenly cut off in my house, then my home Ubuntu Server restarted after the power on, but when I use my laptop to view my wesite, the index.html suddenly became blank page, I did clear the firefox cache, doesn't work, still blank, and I changed browser, to seamonkey, the index.html still was blank, so, I am sure that the problem is coused by the server, and then, I put the index.html file to a subdirectory, which under the /var/www/home/index.html, and then I put the address < [url] > ,then,I can view my website the main page index.html.
View 2 Replies
View Related
Jul 7, 2011
I want to remove the index.html file alone in the every directory via bash script, for example i have 5 directories in the path /var/www/vhost
anish
kumar
linux
question
friend
each directories have index.html file now i want to replace the index.html file alone from the other directory /var/tmp/vhosbak
anish
kumar
linux
question
friend
How we can do this using script?
View 5 Replies
View Related
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
Feb 14, 2011
i have a weird issue with my web server. every time i enter my domain name instead of processing my index file it downloads it. wth could be the problem first time this ever occurred. recently installed webmin.
View 7 Replies
View Related
Apr 13, 2011
Ubuntu 1010 server 64bitlighttpdFor the 1st domain,say domain1
I name the index file as:
/var/www/index.html
/home/lighttpd/default/http/index.html
[code]....
View 4 Replies
View Related
Jan 26, 2011
Ive looked up and down but i cant seem to find an answer to my question. Why cant i upload to my ftp site. I am running a lamp server and i installed proftp. i created users and groups. i tested my server and its working fine. but now when im working on dreamweaver to connect to my ftp... It connects fine i can download my files from the site but when i edit them and try to "put" them back. i get an error:
index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured.
[code].....
View 2 Replies
View Related
Aug 21, 2009
I've got a home server running Ubuntu Server 9.04 and several machines running Ubuntu Desktop (9.04 and 8.04) and Windows (XP, Vista and 7). Now what I want to do is to create a domain and directory server similar in function to Windows Server w/ AD and join my other machines to the domain, but am not sure where to start. I already have file shares with Samba but now I want to setup a domain.
View 3 Replies
View Related
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
View Related
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
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
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
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
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
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
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
Apr 12, 2011
iam using centos5.2.configured qmail,vpopmail. while adding domain form vadddomain<domain.co.in> At first time domain folder get created in domains directory.and also postmaster user also get created by default.And also in mysql. Now the problem is after some times or rebooting system domain get erased automatic.also in /var/qmail/users/assign file domain name get erased.
View 1 Replies
View Related
Apr 7, 2011
i had created domain but not getting domain in /var/qmail/user/assign file.also it error /home/vpopmail/bin/vdominfo abc.co.inInvalid domain name
View 2 Replies
View Related
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