![]() |
|
|
google unix.com
|
|||||||
| Fórumok | Regisztráció | Fórum Szabályok | Linkek | Albumok | GYIK | Tagok listája | Naptár | Keres | Mai hozzászólások | Megjelöl Fórumok Olvas |
| Web programozás, Web 2.0 és mashupokat Discuss Web programozás és a Web Server Administration, beleértve a LAMP, Apache, MySQL, Flash, HTML, SEO, mashupokat és Web API-k és egyéb témákról. |
Több, UNIX és Linux fórum témák Ön által talált Hasznos
|
||||
| Szál | Thread Starter | Fórum | Válaszok | Utolsó hozzászólás |
| Nincs engedélye a elérni ezen a szerveren. | aneuryzma | Web programozás, Web 2.0 és mashupokat | 9 | 05-21-2009 03:08 PM |
| Elképzelhető-e egy script runned helyi kiszolgáló hozzáférési távoli szerver? | luna_soleil | Shell programozás és Scripting | 3 | 02-26-2009 05:38 PM |
| korlátozza a hozzáférést a szerverhez | melanie_pfefer | SUN Solaris | 1 | 02-25-2008 02:55 PM |
| Lehet-e a hozzáférést a szerver az adatbázis egy másik szerverre. | debu | A UNIX a fejlett és szakértői Felhasználók | 1 | 05-20-2007 06:42 PM |
| Nem érhet el fájlokat saját szerveren | Djaunl | A UNIX a dummies Kérdések és válaszok | 3 | 07-20-2006 11:19 AM |
![]() |
|
|
LinkBack | Téma eszközök | Keresés a téma | Rate Thread | Megjelenítési módok |
|
|
|
||||
|
hozzáférést kiszolgáló mindig lehet
Szia, Nem lehet tagadni a hozzáférést a saját szerver. ha látogatás http://localhost Nem mindig látni a fájlokat. Miért? Kód:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Deny from All
</Directory>
Kód:
<Directory "/Users/aneuryzma/Sites">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks MultiViews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Deny from all
</Directory>
köszönöm |
|
|||||
|
Lásd az Apache mod_access docs. Itt valami furcsát: Kód:
SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in
<Directory /docroot>
Order Deny,Allow
Deny from all
Allow from env=let_me_in
</Directory>
|
|
||||
|
Szia, Én már módosították; Kód:
<Directory "/Users/aneuryzma/Sites">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks MultiViews
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order Deny,Allow
Deny from all
Allow from env=let_me_in
</Directory>
de még minden elérhető. Én is megpróbáltam Kód:
Order Deny,Allow Deny from All és Kód:
Order Deny,Allow Biztos vagyok benne, hogy a könyvtár elérési út helyes, mert az indexelés működik. |
![]() |
| Könyvjelzõk |
| Téma eszközök | Keresés a téma |
| Megjelenítési módok | Rate this thread |
|
|