Re: apache
"HL" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <038901c2ea76$8c5a8be0$6601a8c0@oemcomputer> |
Eric, Thanks. I will direct further questions over there you recommended. The server is RedHat Linux with apache. I changed all files and directory, after restarted apache, I got error apachectl restart /usr/sbin/apachectl restart: httpd not running, trying to start [Sat Mar 15 06:59:35 2003] [alert] httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName /usr/sbin/apachectl restart: httpd started Any idea? ----- Original Message ----- From: "Eric Koldeweij" <[email protected]> To: <[email protected]> Sent: Friday, March 14, 2003 1:34 PM Subject: Re: apache > 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