LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Configuring the tree structure of a web server with apache2?? (https://www.linuxquestions.org/questions/linux-software-2/configuring-the-tree-structure-of-a-web-server-with-apache2-338486/)

AQG 06-29-2005 03:38 PM

Configuring the tree structure of a web server with apache2??
 
Hello it's me again...
I have a web server using apache2, and would like to know a good way to organize my directory structure of my website...
any ideas???

Thanks once again for any help!!!

comprookie2000 06-29-2005 03:55 PM

I don't know if this is the best way but it works for me,I set documentroot for /var/www/html
then make directorys from there
/var/www/html/forum
/var/www/html/themes
/var/www/html/screenshots
/var/www/html/dotfiles
and on and on
is that what you meant?

AQG 06-30-2005 11:00 AM

Yes thanks that's one o the things i meant.

But now one other thing, which is the configuration file for the apache2 and how do i change the default directory in it?

Thanks once again!!!!

comprookie2000 06-30-2005 02:08 PM

Different distro's sometimes do it a little different,what distro are you going to use for the web server?

AQG 06-30-2005 02:15 PM

I'm using SuSE 9.2

AQG 06-30-2005 02:27 PM

Hurray i've got it!!!

my problem was in the "default_server.conf" file in the 2 lines that follow
DocumentRoot "/srv/www/htdocs"
<Directory /srv/www/htdocs">

all i needed to do is chanche the route of the 2 lines for the ones i wanted.


thanks for the help!!!!!

comprookie2000 06-30-2005 02:28 PM

I found this for later;
http://www.novell.com/documentation/...konf.sysconfig

AQG 06-30-2005 03:47 PM

Thank you very much, i'll have a look at it for later use...


All times are GMT -5. The time now is 03:12 PM.