On my installation, Apache 2.0.53 from source tarball on an FC3 box, the httpd daemon is in /usr/sbin/, the Apache modules are in /usr/lib/apache/, the configuration file is in /etc/httpd/, and the logfiles are going to /var/log/httpd/. I passed the attribut "--enable-layout=RedHat" to the configure script.
When I installed Apache, I made sure I was logged in as root. As what user were you logged in when you installed Apache?
Hmmm.....maybe I should reinstall the server into the root directory instead of the home directory. They are seperate in my distro.
I can actually get into the http server from a webbrowser and serv-up all the web pages I want, but things like cgi dont work and Im thinking its because its not installed in the root directory.
Im running a vector distro that uses three seperate partitions, a 230 mb swap partition, a 3000mb root partition, and the rest of the disk space for a home partition. So the home partition is set apart from the root partition, for security I guess more than anything else.
Inside of the home partition you can add as many users homes as you need or want. For example, in my home partition I have two seperate folders......one for my user home and one for apache. If your logged into the system as..lets say joe...then you would work out of /home/joe.......but, if you entered.....say /home/jason.....then you would have to work as a non-privileged user using jasons password......does that make sense?
anyway.....I installed apache in the home folder. So you have to work in the apache folder as a non-privileged user and I think its effecting some processes
but I have nothing related to apache anywhere in those files because those are in my root partition and the apache server is installed on my home partition.......
No offence but you realy have to study some, cause you don't seem to have any idea how *nix systems work. Read the tut's i gave you, and at the end of the week, you will know what you are talking about.
Again no offence , I'm just trying to help you get started. And the way you choose, is surely NOT the right one
I think!.
``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
perluser.........thanks for all the cool links, but I read all of that about a year ago when I began to use linux. My question now is how do take from my posts that I know nothing about Linux?
Maybe if just once you forum idiots would just stop an actually read the posts that you are responding to, you would actually give usable answers.
I made myself crystal clear, man. Come on! My distro uses three different partitions.
The users home is on one partition while my root file system tree is on another. Why is that so hard to understand?
Sleipnir214 flipped out when he read this and asked, "What do you mean by "root"?". Seams to me like Im not the one who's lacking knowledge here. I mean come on.....
the root
root filesystem
the root tree
the partition with bin, etc and all of the other files within it that runs the linux system.
Now let me, the know-nothing, teach you pros how this works so we will be able to converse here........
There is this little section called ROOT, right? and it holds all the little files that make the Linux system run. Ok you still with me? It has all kinds of little folders in it. Bin, etc, var, usr....and on and on. That little section is on one single partition on my hard drive.
Now there is this other little section called Home, right? Can you guys handle this? Am I going to fast for you? That little section is where the different users of the system are located. They have their own folders............
You know what, forget it.
I see that Ill never get any help here. Only smart asses and frustration. Ive learned that forums are the worst place to try to find any help with anything! You people claim to be able to do this stuff, but you cant even read a damn post right! Why should I take any advice from you?
In one of my posts (above) I stated that in the apache document files it stated something and made a ref to what it stated. Then you point me to what Iv'e already read! Thats plain stupidity! Your not reading the damn posts!
You need to learn to read and to comprehend what you have read before you try to answer a post.
Dude, when you start talking about different partition, i thought you had no idea about the *nix file system.
Apache or any other program that you install to *nix operating system does not care if you have many partitions.
In fact you can have as many partitions as you want.
You can have a partition for [red]/[/red], one partition for [red]/home[/red], one for [red]/usr[/red], one for [red]/var[/red], one for [red]/boot[/red], one for [red]/tmp[/red], and on, and on.
The Filesystem Hierarchy Standard was created this way.
But you can also have everything (every folder) in on partition.
It will still work the same way. Installing a program in home directory has nothing to do with different partitions.
You can install it anywhere you like.
But you have to go through a painfull proccess. You have to open every single file and change the paths, and there are files like the apache modules which you might not be able to do that, so you have to set things up, on the installation proccess.
It is mostly used to install programms in *nix to the default directory. And i repeat, it as nothing to do in which partition is the folder where you install it.
Now starting Apache, has nothing to do with which user is logged in. You can make it start as a service at start up. You can set priveledges to some users to start it manually. You can change the modes to apache files so they will be accessible from some users or some groups.
This are things that you should already know, if you read (as you said) all these links that i pointed in the preview post.
You dont have to talk this way, nobody called you stupid, it not a bad thing that you dont know everything.
We don't know everything ourselves. We learn every day something different. From gurus or from newbies.
Dont get upset, you might misread something.
Did i made my self clear regarding your first question?
``The wise man doesn't give the right answers,
he poses the right questions.''
TIMTOWTDI
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.