View Full Version : Apache for linux
I have just installed suse linux...
and i installed apache but it wont show the right directory i need a "htdocs" folder but i can find...
i also downloaded a new version but i couldent install it
arckane
09-06-2003, 04:01 AM
That don't make too much sense, but I think I know what you are on about.
You've downloaded and installed APACHE, prolly using the RPM file, and now you don't know where in the blue Hell it's set the the HTDOCS directory to, or where to change it yourself?
By saying this, you've just told me that you're fairly new to the Linux system, as you'd know where and how to find the files, so I'll do this the easy method:
Run a shell or terminal session and type 'whereis httpd'. This will list whereabouts on your system apache and any files with the name httpd reside. This will allow you to find the files you need. If memory serves me correctly (I'm not at work, and haven't needed to touch my apache config files for a LONG time now), the httpd.conf file sits happily under /etc/ but since you installed from an RPM (always a no no, as this puts files all over the system and are a bugger to find) you'll prolly find the httpd.conf file under /usr/local/etc/
In this file, about half way down, is the pathing for the htdocs directory. It will tell you in there the whereabouts of the directory and you can change it and restart the server to move it's location. Please read the file carefully, because sometimes you need to add / to the end of paths and sometimes you don't.
My advice to you is this:
Go to www.webmin.com and download and install that. This is a GUI system which allows you to configure almost EVERY aspect of the most common applications without ever having to know what to put in the config files ;) It's completely GNU licenced, so go and get it. Once installed, run up your web browser and type: http://localhost:10000 and then it will ask for your user name and password. These are your root username and password.
Anyways, I hope this helps ya m8y.
Regards
ArC
arckane
09-06-2003, 04:04 AM
Having another thought here - I assumed U used an RPM, but reread that U are using SUSE. How did you install the Apache server? If it was using ./configure, let me know what arguements you used and I can help you a little more :)
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.