On Sat, 2003-08-30 at 21:40, Marco Verheul wrote: > Hi all, > > I just installed Apache2 and when I enter http://localhost in my browser > it shows me the apache page, so installation was succesfull. To which > directory does http://localhost point? In other words, where do I load > my webpages so i can use PHP locally on my PC? > > I installed with the regular RPM's from de Mandrake (9.1) cd's. > > Marco
All yer web stuff lives in /var/www ...if you browse through that directory you'll find [EMAIL PROTECTED] www]$ ls -CFal total 9 drwxr-xr-x 7 root root 168 Aug 27 22:56 ./ drwxr-xr-x 21 root root 536 Aug 27 23:27 ../ drwxr-xr-x 2 root root 72 Aug 27 22:56 cgi-bin/ drwxr-xr-x 3 root root 1024 Aug 27 22:56 error/ drwxr-xr-x 3 root root 208 Aug 27 22:56 html/ drwxr-xr-x 3 root root 4952 Aug 27 22:56 icons/ drwxr-xr-x 3 root root 152 Aug 27 22:59 perl/ So...whatever you want to start digging into - well, it's there...the obvious place to start would be in the html directory... Here's a hint, though, mate...if you're just playing around and testing, why not create subdirectories off like: /var/www/html/test/mysite01 /var/www/html/test/mysite02 ...and so on - this gives you the ability to maintain some semblance of order and neatness in the /var/www/html directory - and you can very easily delete your failures without affecting anything else...ay? -- Sat Aug 30 21:40:01 EST 2003 21:40:01 up 5 days, 11:26, 3 users, load average: 0.79, 0.87, 0.77 ----------------------------------------------------------------- | __ __ | illawarra computer services | | /-oo /| |'-. | http://kma.0catch.com | | .\__/ || | | |================================| | _ / `._ \|_|_.-' | stephen kuhn | | | / \__.`=._) (_ | email: [EMAIL PROTECTED] | ----------------------------------------------------------------- linux user #:267497 linux machine #:194239 * MDK 9.1+ & RH 9 Mandrake Linux Kernel 2.4.21-13mdk Cooker for i586 ----------------------------------------------------------------- * This message was composed on a 100% Microsoft free computer * panic("kmem_cache_init(): Offsets are wrong - I've been messed with!"); 2.2.16 /usr/src/linux/mm/slab.c
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
