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.
I have SUSE running as a server and it is accessable but I want two things that i don't have yet:
I want remote access so i can ftp web pages I create. And I would like to access as a user and access user /home/ directories but have them appear as in the main domain (ie not "WWW domain ca/~user/webpages" **but** "WWW domain ca/pages"
I want to be able to view the web pages using "www domain ca/index.html" (this **is it root directory**directory) but I don't want to ftp in using root or have to access the /srv/www/htdocs/ directory
Can I link my user directory so i can make changes in my user directory but it appears in the /srv/www/htdocs/ subdirectory?
sounds like you just want to either change your documentroot in apache to point to an alternative location, or change the access rights of the current location to suit your non-root user.
I guess I need to learn more. Maybe this is a better first step. I can put web pages in the /srv/www/htdocs subdir and they are viewable on the internet - how can I make my user (/jim/) pages available in the Internet? Do i have to add ~jim to the base URL? That doesn't work. Maybe i nneed to log in as root to change permissions?
Thanks for helping
home user dirs is something i've neerv really done, it's not massively easy from scratch but most httpd.conf files are commented to do it already, so is often just a case of removing the comment marks.
you can make pages appear from *anywhere* you want to. as above, the DocumentRoot variable in httpd.conf defines where the default pages are served from.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.