Edward Krack wrote:
John Meyer:
Edward Krack wrote:
John Meyer:
I set up Apache to run through YAST2, and anything located in my srv/www (I think) will publish. However, any of the user public_html directories do not publish. When I try to acccess them, I get the following error:
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.
If you think this is a server error, please contact the webmaster.
and I have mod_userdir enabled. What else do I need to do?
set the variable in YAST2 HTTPD_SEC_PUBLIC_HTML = yes
Okay, where do I track down this variable? I'm looking at /etc/sysconfig Editor right now.
According to *MY* /usr/share/doc/packages/suselinux-adminguide_en/html
The Apache Web Server Configuration Manual Configuration UserDir
With the help of the module mod_userdir and the directive UserDir, you can specify a directory in the home directory of the user in which the user can publish his files by way of Apache. This can be configured in SuSEconfig by means of the variable HTTPD_SEC_PUBLIC_HTML. To enable the publishing of files, this variable must be set to yes. This results in the following entry in the file /etc/httpd/suse_public_html.conf (which is interpreted by /etc/httpd/httpd.conf).
<IfModule mod_userdir.c> UserDir public_html </IfModule>
You may have to get your hands dirty and edit by hand. /etc/sysconfig/apache
Just my 2 cents
Well, I got it working, sort of, with this command in httpd.conf Alias /johnmeyer /home/webpublisher/public_html <Directory /home/webpublisher/public_html> Order allow,deny Allow from all </Directory> Since I'm running this as a test server, I guess this will do for starters.