Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Apache is definitely running on this server, however there is now apache directory in /etc/ there is instead /Apache2/
Is that normal? If not, where can I find the command that launches apache on startup and tells it to get its config files from /etc/apache2/ instead of /etc/apache/
Once I figure that out, I also need to find out how to enable user webpages (i.e. if I go to <server>/~username/ and get a user web page).
Apache is definitely running on this server, however there is now apache directory in /etc/ there is instead /Apache2/
Is that normal? If not, where can I find the command that launches apache on startup and tells it to get its config files from /etc/apache2/ instead of /etc/apache/
Once I figure that out, I also need to find out how to enable user webpages (i.e. if I go to <server>/~username/ and get a user web page).
Any help is appreciated. Thanks.
Yes, it's normal if you're running apache2, instead of apache. The startup file will (probably), be in /etc/init.d. You don't say anything about your setup or configuration, so it's hard to give you specific answers. There is probably an apache2 file somewhere under /etc, which is the startup script.
The config files are in /etc/apache2. Modify it to suit your needs, so you can pull up 'user webpages' from that server.
...after editing the mod_userdir.conf file. The page's won't serve from the home directory though. I get:
Code:
Forbidden
You don't have permission to access /~cs751001/index.html on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request
The public_html directory is set with rwxr-xr-x and the index.html file has rw-r--r-- permissions so that shouldn't be the problem. Also the main webpage works fine.
...to get it working and it does indeed work. I have just one question left:
What is up with those permissions? you set the public_html directory to 733? Why would you give groups and all users write and execute privileges (but not read privileges) on the public_html directory?
EDIT:
Well I changed the permissions to 755 and it still works which is fine for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.