Re: [newbie] Installation folder for Apache 2 ???

2004-07-26 Thread Todd Slater
On Mon, Jul 26, 2004 at 07:11:14AM +0200, Marc Hultquist wrote:
 
  /var/www/html
 In-correct. By default apache2 installs its htdocs/ in the folder where 
 everything else is installed, I.E if when installing apache you do as follows 
 ./configure --prefix=/apache/  your apache will be installed in 
 obviously /apache/ and your htdocs will be in /apache/htdocs/ !

If you use the Mandrake packaging system then the root is in fact
/var/www/html. I would assume a user compiling Apache from source would
have enough sense to know how to configure it!

Todd


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-26 Thread Lee Wiggers
On Mon, 26 Jul 2004 09:57:05 -0400
Todd Slater [EMAIL PROTECTED] wrote:

 On Mon, Jul 26, 2004 at 07:11:14AM +0200, Marc Hultquist wrote:
  
   /var/www/html
  In-correct. By default apache2 installs its htdocs/ in the
  folder where everything else is installed, I.E if when
  installing apache you do as follows ./configure
  --prefix=/apache/  your apache will be installed in obviously
  /apache/ and your htdocs will be in /apache/htdocs/ !
 
 If you use the Mandrake packaging system then the root is in fact
 /var/www/html. I would assume a user compiling Apache from source
 would have enough sense to know how to configure it!
 
 Todd
 
 
OTOH, I've had more trouble with lesser problems.  I just spent two
hours with a network problem.  The rj45 wasn't plugged in.

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-26 Thread Marc Hultquist
On Monday, 26 July 2004 15:57, Todd Slater wrote:
 On Mon, Jul 26, 2004 at 07:11:14AM +0200, Marc Hultquist wrote:
   /var/www/html
 
  In-correct. By default apache2 installs its htdocs/ in the folder where
  everything else is installed, I.E if when installing apache you do as
  follows ./configure --prefix=/apache/  your apache will be installed in
  obviously /apache/ and your htdocs will be in /apache/htdocs/ !

 If you use the Mandrake packaging system then the root is in fact
 /var/www/html. I would assume a user compiling Apache from source would
 have enough sense to know how to configure it!

 Todd
To true, I noticed the woe of my mail to late, well only after I sent the 
mail :\ Its one of those mondays. Sorry to everyone about that.
-- 
 Marc Hultquist ([EMAIL PROTECTED])
 Computerkit Systems (Pty) Ltd
 http://www.cks.co.za
 (P) +27 11 695 5317
 (F) +27 11 312 1408
 (C) +27 82 563 2861 
 Quote: Its a bad idea for geeks to be on low-carb diets. Low-carb means no 
sugar, no sugar means cravings, cravings mean a loss of concentration, losing 
concentration makes geeks irritable and geeks run the computers that run the 
world's banks and militaries !!! . . . . . . .  . YE GODS !!! Give me a 
frosted chocolate cake before we plunge into anarchy !!! - (c) J.D. Illad 
Frazer(Userfriendly.org)
Confidentiality Notice:
The above message and all attachments may contain privileged and confidential 
information intended only for the person or entity to which it is addressed. Any 
review, retransmission, dissemination, copy or other use of, or taking of any action 
in reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this message in error, please notify the 
sender immediately by e-mail, facsimile or telephone and thereafter delete the 
material from your computer. Any views expressed in this message are those of the 
individual sender, except where the sender specifically states them to be the view of 
the entity transmitting the message.  Computerkit Retail Systems (Pty) Ltd hereby 
distances itself from and accepts no liability in respect of the unauthorised use of 
its e-mail facility or the sending of e-mail communications for other than strictly 
business purposes


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-26 Thread Tomas Tudja
Hello,
The question is not Where the site root directory is? The right question
is Where the apache configuration file is? That will help anyone to aviod
problems like this one just discussed. In configuration file you can find it
anytime and config file is IMHO intuitive enought to provide information
about site root directory to anyone able to install a system.

Folks, config files are your friends, they should be readed immediatelly
after the README and man pages of product. :

OT NOTE: if somebody is starting to write a php or cgi scripts, it is good
to remember that it is dangerous to have scripts in site root directory (as
somebody wrote in this streame). Basic scheme: index.php is located and
executed in /var/www/html, other scripts are located in /var/www/myphp and
executed from index.php. It is little bit more difficult to play with site
wrote like this (or to hack it).

Sorry for my english :

Best Regards
Tomas Tudja

- Original Message -
From: Todd Slater [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, July 26, 2004 2:57 PM
Subject: Re: [newbie] Installation folder for Apache 2 ???


 On Mon, Jul 26, 2004 at 07:11:14AM +0200, Marc Hultquist wrote:
 
   /var/www/html
  In-correct. By default apache2 installs its htdocs/ in the folder where
  everything else is installed, I.E if when installing apache you do as
follows
  ./configure --prefix=/apache/  your apache will be installed in
  obviously /apache/ and your htdocs will be in /apache/htdocs/ !

 If you use the Mandrake packaging system then the root is in fact
 /var/www/html. I would assume a user compiling Apache from source would
 have enough sense to know how to configure it!

 Todd








 
 Want to buy your Pack or Services from MandrakeSoft?
 Go to http://www.mandrakestore.com
 Join the Club : http://www.mandrakeclub.com
 




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-26 Thread Marc Hultquist
 OTOH, I've had more trouble with lesser problems.  I just spent two
 hours with a network problem.  The rj45 wasn't plugged in.

Ya I done that as well in the past :-)

-- 
 Marc Hultquist ([EMAIL PROTECTED])
 Computerkit Systems (Pty) Ltd
 http://www.cks.co.za
 (P) +27 11 695 5317
 (F) +27 11 312 1408
 (C) +27 82 563 2861 
 Quote: Its a bad idea for geeks to be on low-carb diets. Low-carb means no 
sugar, no sugar means cravings, cravings mean a loss of concentration, losing 
concentration makes geeks irritable and geeks run the computers that run the 
world's banks and militaries !!! . . . . . . .  . YE GODS !!! Give me a 
frosted chocolate cake before we plunge into anarchy !!! - (c) J.D. Illad 
Frazer(Userfriendly.org)
Confidentiality Notice:
The above message and all attachments may contain privileged and confidential 
information intended only for the person or entity to which it is addressed. Any 
review, retransmission, dissemination, copy or other use of, or taking of any action 
in reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this message in error, please notify the 
sender immediately by e-mail, facsimile or telephone and thereafter delete the 
material from your computer. Any views expressed in this message are those of the 
individual sender, except where the sender specifically states them to be the view of 
the entity transmitting the message.  Computerkit Retail Systems (Pty) Ltd hereby 
distances itself from and accepts no liability in respect of the unauthorised use of 
its e-mail facility or the sending of e-mail communications for other than strictly 
business purposes


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Installation folder for Apache 2 ???

2004-07-25 Thread Sujit Apte
Gentlemen,
I have installed Apache 2 + PHP + mysql with Mandrake linux 10.00.
In Apache installation there is a folder called htdocs where we put 
all data i.e. HTML files,
PHP code and other stuff.
However I did not see this htdocs folder nor Apache2 installation 
folder. I tried searching
every thing under /. So also if I give http://localhost; on wed 
browser , the index page of
apache is displayed.

I am just not understanding where this damn thing has been installed. 
Can anybody please let me know
where I can find this htdocs folder ?

Thanks,
~Sujit..


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-25 Thread Lee Wiggers
On Mon, 26 Jul 2004 00:28:12 -0400
Sujit Apte [EMAIL PROTECTED] wrote:

 Gentlemen,
 
 I have installed Apache 2 + PHP + mysql with Mandrake linux 10.00.
 
 In Apache installation there is a folder called htdocs where we
 put all data i.e. HTML files,
 PHP code and other stuff.
 However I did not see this htdocs folder nor Apache2
 installation folder. I tried searching
 every thing under /. So also if I give http://localhost; on wed
 
 browser , the index page of
 apache is displayed.
 
 I am just not understanding where this damn thing has been
 installed. Can anybody please let me know
 where I can find this htdocs folder ?
 
 Thanks,
 
 ~Sujit..
 
 
 
 
/var/www/html


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-25 Thread Lee Wiggers
On Mon, 26 Jul 2004 00:28:12 -0400
Sujit Apte [EMAIL PROTECTED] wrote:

 Gentlemen,
 
 I have installed Apache 2 + PHP + mysql with Mandrake linux 10.00.
 
 In Apache installation there is a folder called htdocs where we
 put all data i.e. HTML files,
 PHP code and other stuff.
 However I did not see this htdocs folder nor Apache2
 installation folder. I tried searching
 every thing under /. So also if I give http://localhost; on wed
 
 browser , the index page of
 apache is displayed.
 
 I am just not understanding where this damn thing has been
 installed. Can anybody please let me know
 where I can find this htdocs folder ?
 
 Thanks,
 
 ~Sujit..
 
 
 
 
 
the webroot on 
Mandrake is /var/www/html/. The apache conf files are in 
/etc/httpd/conf/. 
 

Lee


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Installation folder for Apache 2 ???

2004-07-25 Thread Marc Hultquist

 /var/www/html
In-correct. By default apache2 installs its htdocs/ in the folder where 
everything else is installed, I.E if when installing apache you do as follows 
./configure --prefix=/apache/  your apache will be installed in 
obviously /apache/ and your htdocs will be in /apache/htdocs/ !

Obviously this can be changed, you just need to edit your httpd.conf file and 
set the Document_Root= to where you want to put your files, but as is pointed 
out above, most people put it in /var/www .
-- 
 Marc Hultquist ([EMAIL PROTECTED])
 Computerkit Systems (Pty) Ltd
 http://www.cks.co.za
 (P) +27 11 695 5317
 (F) +27 11 312 1408
 (C) +27 82 563 2861 
 Quote: Its a bad idea for geeks to be on low-carb diets. Low-carb means no 
sugar, no sugar means cravings, cravings mean a loss of concentration, losing 
concentration makes geeks irritable and geeks run the computers that run the 
world's banks and militaries !!! . . . . . . .  . YE GODS !!! Give me a 
frosted chocolate cake before we plunge into anarchy !!! - (c) J.D. Illad 
Frazer(Userfriendly.org)
Confidentiality Notice:
The above message and all attachments may contain privileged and confidential 
information intended only for the person or entity to which it is addressed. Any 
review, retransmission, dissemination, copy or other use of, or taking of any action 
in reliance upon this information by persons or entities other than the intended 
recipient is prohibited. If you received this message in error, please notify the 
sender immediately by e-mail, facsimile or telephone and thereafter delete the 
material from your computer. Any views expressed in this message are those of the 
individual sender, except where the sender specifically states them to be the view of 
the entity transmitting the message.  Computerkit Retail Systems (Pty) Ltd hereby 
distances itself from and accepts no liability in respect of the unauthorised use of 
its e-mail facility or the sending of e-mail communications for other than strictly 
business purposes


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com