Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
my school use unix, and i can make a directory called public_html in home directory, then i can put my website in it. the website can be browse by others with address like http://xxxxx.edu/~username
is it anyway to do it in my own linux??i am using fedora 3.
o, i thought linux have apache when i installed it...><
mac os x is easier to do then...i have a powerbook and just have to check something in sys preference, then it tells me the address of my website, and i just have to put my website into the folder called Sites.
Originally posted by sorno o, i thought linux have apache when i installed it...><
mac os x is easier to do then...i have a powerbook and just have to check something in sys preference, then it tells me the address of my website, and i just have to put my website into the folder called Sites.
In Mandrake, there's Apache too, so probably in Fedora also. The main pages are in /var/www/html if I remember correctly. And what you describe works exactly the same. It just has to be enabled.
/var/www/html is the place for root, so i think it's not that. my school one is like every user can have their own website. so the public_html folder put in the home folder, that's will be it.
and how to enable it?security level?i checked that http already. server configuration?i dont see apache there...just many service that i don know about ><
Apache is the "httpd" service. As for this particular configuration (to enable ~/public_html), I don't know it (never used it), but it should be somewhere in Apache's config. Go to Apache config dir as root (under /etc), and do that:
Code:
# grep -ril "public_html" config/
Sorry if my instructions are not accurate; I don't have Linux at hand now.
Originally posted by theYinYeti In Mandrake, there's Apache too, so probably in Fedora also. The main pages are in /var/www/html if I remember correctly. And what you describe works exactly the same. It just has to be enabled.
Yves.
apache is not installed by default, but it''s quite easy to install it in fedora3 anyway. after i installed it, i can put the website as you say: /var/www/html.
however, i cannot find that apache directory, it's not under etc. and only root can put a website, is it anyway i can let user put their website too??
you can change user file permission on the folder i know in suse linux if your log in as root you just right click the folder and click permissions an dyou can change them so user's can read , write , execute or what ever you want the user to do
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.