Page 1 of 1
Forbidden
Posted: 2017 Feb 01 14:52
by Kenzy
Hello All, i have a problem to open a folder on website,
when i gonna check my folder on my website i get this Error,
Please Help me for fix this problem .
Forbidden
You don't have permission to access /services/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Re: Forbidden
Posted: 2017 Feb 01 16:30
by laimiukas3
Kenzy wrote:Hello All, i have a problem to open a folder on website,
when i gonna check my folder on my website i get this Error,
Please Help me for fix this problem .
Forbidden
You don't have permission to access /services/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
try to set privileges 777
Re: Forbidden
Posted: 2017 Feb 01 16:56
by Kenzy
laimiukas3 wrote:Kenzy wrote:Hello All, i have a problem to open a folder on website,
when i gonna check my folder on my website i get this Error,
Please Help me for fix this problem .
Forbidden
You don't have permission to access /services/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
try to set privileges 777
i try doing it already, but still not work.
Re: Forbidden
Posted: 2017 Feb 16 00:36
by nullatonce
LAMP ?
go to etc/apache2/sites-availabe/
Open sitename.net.conf
somewhere between add
Code: Select all
<VirtualHost *:80>< ... ><VirtualHost>
add
Code: Select all
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
my template
Code: Select all
<VirtualHost *:80> DocumentRoot /var/www/hi/public_html/ <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>< ... >
works for me
< ... > means text we don't care about.
Re: Forbidden
Posted: 2017 Mar 03 16:56
by Kenzy
nullatonce wrote:LAMP ?
go to etc/apache2/sites-availabe/
Open sitename.net.conf
somewhere between add
Code: Select all
<VirtualHost *:80>< ... ><VirtualHost>
add
Code: Select all
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
my template
Code: Select all
<VirtualHost *:80> DocumentRoot /var/www/hi/public_html/ <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>< ... >
works for me
< ... > means text we don't care about.
mean creat new flode conf ? and name to floder ip VPS or name to my site ?
than past all this code like this ?
Code: Select all
<VirtualHost *:80>< ... ><VirtualHost> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all</Directory> <VirtualHost *:80> DocumentRoot /var/www/hi/public_html/ <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>< ... >
-- 2017 Mar 03 16:56 --
Please Explain more

Re: Forbidden
Posted: 2017 Mar 03 23:26
by nullatonce
can't understand a s*it from your message, but i think you asked for final code.
Not tested
<VirtualHost *:80>
DocumentRoot /var/www/hi/public_html/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
<VirtualHost>
i think you don't speak English (google translate not included) so friendly advice - start learning, because there is a lot of articles in that language, it's kinda global you know ...