Forum » Izdelava spletišč » 403 Forbidden pri dostopanju lokalno
403 Forbidden pri dostopanju lokalno
Excavator ::
Če dostopam apache lokalno dobim 403 forbidden(You don't have permission to access / on this server.)
Če dostopam z zunanjim ip-jem, port forwardam port 80 dela normalno.
Vse hostam na Debian based OS-u, na Apache v2.4.25
Config imam direktno v apache2.conf, htaccess-a še nimam.
Naj pustim apache conf tak kot je in uporabim .htaccess v /www?
Če dostopam z zunanjim ip-jem, port forwardam port 80 dela normalno.
Vse hostam na Debian based OS-u, na Apache v2.4.25
Config imam direktno v apache2.conf, htaccess-a še nimam.
# Sets the default security model of the Apache2 HTTPD server. It does # not allow access to the root filesystem outside of /usr/share and /var/www. # The former is used by web applications packaged in Debian, # the latter may be used for local directories served by the web server. If # your system is serving content from a sub-directory in /srv you must allow # access here, or in any related virtual host. <Directory /> Options FollowSymLinks AllowOverride All Require all denied Allow from *.*.*.* </Directory> <Directory /usr/share> AllowOverride None Require all granted </Directory> <Directory /var/www/> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> #<Directory /srv/> # Options Indexes FollowSymLinks # AllowOverride None # Require all granted #</Directory>
Naj pustim apache conf tak kot je in uporabim .htaccess v /www?
- spremenil: Excavator ()
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Apache in Node.JSOddelek: Izdelava spletišč | 1956 (1642) | dunda |
» | Apache Alias pomočOddelek: Omrežja in internet | 1224 (1135) | BlueRunner |
» | Apache - localhost JA, IP naslov NEOddelek: Omrežja in internet | 6609 (6468) | ManDriver |
» | kako usposbim sslOddelek: Izdelava spletišč | 1941 (1670) | pan |
» | html ali java, izpis IPjaOddelek: Programiranje | 1263 (1179) | Trubadur |