Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Yesterday i wanted to install the Apache2 which comes with the standart Debian 3.1a Sarge CD.
I did a "apt-get install apache2-common" which happyly installed everything. When i did "/etc/init.d/apache2 start" in kosnole, NOTHING happend. Not a single output to konsole nor a process started (tried with ps -ax).
What is wrong? I havent configured anything, so its all at a default level.
I'm back.
Well i stated the Apache again with "/etc/init.d/apache2 start" after that i checked Apache2s error Log, but there was nothing in it. Then I checkd the system log, and Apache2 was not mentioned.
dpkg --list | grep apache shows that apache2-common and apache2-utils are indeed installed. What tha heck? Is there a special way to install it?
Well, where i am right now, i dont have internet. (My grandparents arent that up-to-date ) But Apache is on the CD! So the I have /media/cdrom0 in my sources and it installs the pakages which are on the CD. I and did exactly that: apt-get install apache2. And it installed happily and made all the folder and files it needed.
Now i am thinking of doing the following: as the rig is un-updated, i could just pop in the CD, re-install Debian over the root-partition and choose: Webserver in the pakage configuration. My /home is on a separate partition, so i dont loose anything.
I'm gonna report back tomorrow.
[EDIT]
Ok, went the radical way: removed apache2-common and apache2-utils and compiled it all. And it works! Great!
Well, once again I'm having problems.
As i said before, compiled apache2 with "--prefix=/usr/local/apache2", so that all it's folders end up in usr/local/apache2. Now, i made i new folder in /htdoc/ named "online", in this i've placed another folder called "music", which contains MP3-Files and is supposed to be "auto-indexed". In the httpd.conf i placed some lines to add icons, but it cant find them. httpd.conf ist one "above" the ./apache2 folder, so i thought i had to point the icons and errors to "../icons/ and "../error", but this doesnt work. The only way to get the icons working was to create a simlink von "downloads" to /usr/local/apache2/icons, which sux.
After reading this complex text, do you have any ideas?
Well, my last post was...crapy... so here i go again:
The folder strukture is easy: everything is in /usr/local/apache2 .. there is a subfolder in ./htdocs/ called /kap4/ with another subfolder ./downloads/.
They are probably there, but i just "cut" them out copy-paste'ing them from Linux to windows and then removing the little squares. But I will check on that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.