Click to See Complete Forum and Search --> : Mandrake 8.1 question
stewe151
08-11-2002, 01:57 AM
I just installed mandrake 8.1 for my web server. I had it install apache and everything I needed during the main installation. But I can't find where it stores the web files I looked all over that HDD can someone help me? I also need to know where it stores the databases for mysql. Thanks! I checked the IP address of the server, and the normal apache page shows up, the one that comes built in with apache, so I know it's installed and working.:confused:
Dead Aim
08-11-2002, 02:27 AM
you want to look in the /var/www/ directory
stewe151
08-11-2002, 02:50 AM
I found it. There are 4 directories; html perl cgi-bin and icons. I put my website in the html folder, (I am switchting my server from windows to linux)when accessing it from the web, the website shows up, but none of the sub-folders or anything in them do. I am confused :confused: I don't even know what the other 3 folders in the var/www folder are for:confused:
mdwatts
08-11-2002, 08:39 AM
My distro (Caldera) stores the mysql databases in /var/lib/mysql and the webserver files are in /home/httpd/html.
Dead Aim
08-11-2002, 10:41 AM
I am not familiar with the perl dir but I am sure it similiar as the cgi-bin, but other are as follows.
html -> were the html doc go.
cgi-bin -> were your scripts go, the perl folder might be used the same way.
icons -> is your images folder, put all of you pics in there.
Check out you .conf files mainly the commonhttp.conf file in /etc/httpd/conf/ you are gonna have to get know these file becuase directory access is turn oned by default. (atleast as far as I can remember) This means that anyone get view the contents of you directory if they type it in the location bar. like htpp://yourdoamin/icons, will give them a list of your files in that directory.
In commonhttp.con search for"Control access" to jump to the area of the conf file.
Hope all of this helps