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.
Forbidden
- laimiukas3
- Moderatorius
- Posts: 4569
- Joined: 2012 Aug 03 01:12
- Skype: laimiukas3
- Location: Vilnius
- Contact:
Re: Forbidden
try to set privileges 777Kenzy 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.
Re: Forbidden
i try doing it already, but still not work.laimiukas3 wrote:try to set privileges 777Kenzy 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.
-
- O taip. Jis jau surinko 50 žinučių!
- Posts: 73
- Joined: 2016 Sep 06 23:57
- Skype: nullatonce
Re: Forbidden
LAMP ?
go to etc/apache2/sites-availabe/
Open sitename.net.conf
somewhere between add
add
my template
works for me
< ... > means text we don't care about.
go to etc/apache2/sites-availabe/
Open sitename.net.conf
somewhere between add
Code: Select all
<VirtualHost *:80>< ... ><VirtualHost>
Code: Select all
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
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>< ... >
< ... > means text we don't care about.
Re: Forbidden
mean creat new flode conf ? and name to floder ip VPS or name to my site ?nullatonce wrote:LAMP ?
go to etc/apache2/sites-availabe/
Open sitename.net.conf
somewhere between addaddCode: Select all
<VirtualHost *:80>< ... ><VirtualHost>
my templateCode: Select all
<Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory>
works for meCode: 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>< ... >
< ... > means text we don't care about.
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>< ... >
Please Explain more

-
- O taip. Jis jau surinko 50 žinučių!
- Posts: 73
- Joined: 2016 Sep 06 23:57
- Skype: nullatonce
Re: Forbidden
can't understand a s*it from your message, but i think you asked for final code.
Not tested
Not tested
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 ...<VirtualHost *:80>
DocumentRoot /var/www/hi/public_html/
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
<VirtualHost>
Last edited by nullatonce on 2017 Mar 12 14:19, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 5 guests