Results 1 to 10 of 18
hey all,
i am very new to Linux and i am interested in creating web server.
erm do u guys have any ideas which web server suitable and compatible for ...
- 10-10-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 34
Web server
hey all,
i am very new to Linux and i am interested in creating web server.
erm do u guys have any ideas which web server suitable and compatible for Ubuntu. I knew only one web server which is apache. do we have any other option for web server? hope someone can help me
- 10-10-2011 #2Linux Guru
- Join Date
- May 2011
- Posts
- 1,855
What's wrong with Apache? The internet (the majority of which is run by it) can't be wrong. There are light alternatives of web servers, some of which may be in your repo. See thttpd and lighttpd for starters. Just use your package manager to list all available packages and grep for httpd.
Last edited by atreyu; 10-10-2011 at 02:46 PM. Reason: not really apache
- 10-11-2011 #3Just Joined!
- Join Date
- Mar 2008
- Posts
- 2
I'd have to agree. If you're looking for something free/open source, you'll find a wealth of information and support for Apache. You'll find it to be quite flexible and powerful.
- 10-11-2011 #4Just Joined!
- Join Date
- Oct 2011
- Posts
- 34
Thanks for all information....i didnt have any problem with apache..i just wished to know whether there are some other web server that can be used in Linux.Anyway thanks for information
- 10-11-2011 #5Just Joined!
- Join Date
- Oct 2011
- Posts
- 34
erm i just curious.can cgi work on this apache web server?
- 10-11-2011 #6Just Joined!
- Join Date
- Dec 2009
- Location
- California
- Posts
- 69
Yes, cgi works well in Apache.
You'll need directives in the httpd.conf to tell apache that it's ok to execute cgi programs from the specified directory:
LoadModule cgi_module modules/mod_cgi.so
ScriptAlias /cgi-bin/ /opt/apacheTenants/unixpeople/cgi-bin/
Then just stick the cgi program (any executable) into that dir, then you access it like this:
http://servername/cgi-bin/foobar.sh
Where foobar.sh is the cgi program. For example
---
#!/bin/sh
echo "content-type: text/html"
echo ""
echo "<HTML><BODY>Hello World!</BODY></HTML>"
---
- 10-11-2011 #7Just Joined!
- Join Date
- Oct 2011
- Posts
- 34
thanks for the reply. i also have managed to put CGI on my apache and it is working.for the next step i want to authenticate my server.can i put authentication on apache and how do i do that?thanks in advanced
- 10-11-2011 #8Linux Guru
- Join Date
- May 2011
- Posts
- 1,855
The simplest way to start with this is by using htaccess. Read it up on it in the apache manual.
- 10-11-2011 #9Just Joined!
- Join Date
- Aug 2006
- Posts
- 1
There is not options, The Apache server is developed with Alien Men In Black Technologies [/joke], there is pleny of options, try Cherokee, AOLServer or Klone, Check this list:
en.wikipedia.org/wiki/Comparison_of_web_server_software
you will serve!
Luck with other Servers and post your discoveries!
- 10-12-2011 #10Just Joined!
- Join Date
- Oct 2011
- Posts
- 34
hey thanks for all reply.....but somehow i am in the middle of trouble now....i could get my server authenticate....but the problem now is that it always give me error..this is what i got from /var/log/apache2 :
[Wed Oct 12 08:46:20 2011] [error] [client 192.168.101.86] (2)No such file or directory: Could not open password file: /var/local/passwd/passwords
And this is what i got on the web page:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
so any ideas? hope u guys can help me...thanks in advanced...


Reply With Quote