Re: apache

Eric Koldeweij <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
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?
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.