Apache config

Latest response

Hi,
i need a little help in configuring my test configuration.

What i did:
install rhel8, lamp, vsftpd
created a new user with home directory /home/ftpuser/www
configured vsftpd to be able to access /home/ftpuser/www directory
connected with filezilla and uploaded files, created index.html
modified /etc/httpd/conf/httpd.conf :


<VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /home/ftpuser/www <Directory /> Options FollowSymLinks MultiViews AllowOverride None </Directory> <Directory /home/ftpuser/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin/"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog /var/log/httpd/error_log LogLevel warn Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes FollowSymLinks MultiViews AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> </VirtualHost>

restarted httpd service
selinux set to disabled

when accessing web page i get:

Forbidden
You don't have permission to access this resource.

Thanks in advance.

Responses