Re: apache
"Aaron Namie" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <[email protected]> |
I'm sorry but I did not enter anything here. >From: Eric Koldeweij <[email protected]> >Reply-To: [email protected] >To: [email protected] >Subject: Re: apache >Date: Fri, 14 Mar 2003 22:34:45 +0100 > >I don't know if I understood your question correctly, but as far as I can >see it's just a matter of editing /etc/httpd/conf/httpd.conf, setting >DocumentRoot (default /var/www/html in RedHat) to the new directory, move >all files to the new directory and restart Apache. Make sure that the new >directory has a default <Directory></Directory> entry (or change >/var/www/html to the new directory globally in httpd.conf) > >What I usually do however is work with VirtualHosts, to give each >domain/site I serve its own directory. Probably this is what you want too. >It's too lengthy and offtopic to explain virtual hosting here tho, I >recommend you read the docs (which came with the apache rpm and can be >found online too at www.apache.org) >For these apache-specific questions I recommend to ask them at one of the >various apache mailing lists which can be found at >http://www.apache.org/foundation/mailinglists.html as this list is for >RedHat 7.2 issues only and the ppl you find at the apache mailihng lists >will no doubt be more knowledgable about this subject :-) > >Good luck! > >Greetings, >Eric. > >aaron namie wrote: > >>> >>>For security reason, I want to create additional directory as document >>>root, >>>not default directory. But the default directory only has a small disk >>>space. Is there any way that I can make the "new" directory as the >>>biggest >>>bulk of disk space? If so, how? >> > > > > >_______________________________________________ >enigma-list mailing list >[email protected] >https://listman.redhat.com/mailman/listinfo/enigma-list _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail