Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-14-2001, 07:45 PM
|
#1
|
Member
Registered: Apr 2001
Location: South of Atlanta
Distribution: Mandrake 8.1, Suse 7.0
Posts: 207
Rep:
|
lets say i want to create html files for public viewing on my apache server...where do i put them (the html files) so that a person can view them with an internet connection?
|
|
|
05-15-2001, 01:22 PM
|
#2
|
Member
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857
Rep:
|
Provided you have the webserver running and you have access from the internet, then you have a setting in your httpd.conf file called "Document Root". That setting is where you would put the top layer of files. You can create sub dir's in there of course.
|
|
|
05-15-2001, 02:15 PM
|
#3
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Redhat by default is for root I think in /var/www, you can create it for other users setup on the machine in their own personal /home directories which is really the best place i think.
But like KevinJ said, anywhere you want, it should have a default directory, but you have the freedom to change that.
|
|
|
04-19-2015, 03:25 AM
|
#4
|
LQ Newbie
Registered: Apr 2015
Posts: 1
Rep:
|
update
The default folder is "var/www/html" for my ubuntu 14.10
|
|
|
04-20-2015, 09:20 AM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
|
|
|
04-20-2015, 10:10 AM
|
#6
|
LQ Guru
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573
|
This thread is 14 years old...that's gotta be some kind of record.
|
|
|
04-20-2015, 11:24 AM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by suicidaleggroll
This thread is 14 years old...that's gotta be some kind of record.
|
and I took the bait.
|
|
|
04-21-2015, 08:00 PM
|
#8
|
Member
Registered: May 2014
Location: USA, Wherever I may Roam
Distribution: debian 9.8 w/GNOME and KDE dual boot w/Win 10.| debian 7.11 w/Xfce, LFS 7.9, + Multi-boot w/Windows7
Posts: 122
Rep:
|
And I clicked your link out of curiosity .. and learned something!
Thanks
|
|
|
04-22-2015, 08:26 AM
|
#9
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by Tim Abracadabra
And I clicked your link out of curiosity .. and learned something!
|
Then it did not go to waste!
|
|
|
All times are GMT -5. The time now is 01:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|