![]() |
Hej och välkommen från USA till UNIX och Linux Forum! Tack för ditt besök och gå med i vår globala gemenskapen.
|
|
google unix.com
|
|||||||
| Forum | Registrera | Forum Regler | Länkar | Album | FAQ | Medlemslista | Kalender | Söka | Dagens inlägg | Markera forum som lästa |
| Webb Programmering, Web 2.0 och mashups Diskutera Web Programming och Web Server administration, inklusive LAMP, Apache, MySQL, Flash, HTML, SEO, mashups och andra Web API och ämnen. |
Mer UNIX och Linux Forum Ämnen Du kan hitta Helpful
|
||||
| Tråd | Thread Starter | Forum | Svar | Senaste Inlägg |
| Du har inte behörighet att komma åt / på den här servern. | aneuryzma | Webb Programmering, Web 2.0 och mashups | 9 | 05-21-2009 02:08 |
| Kan ett script runned i lokal server tillgång fjärrservern? | luna_soleil | Shell-programmering och Skript | 3 | 02-26-2009 05:38 |
| begränsa tillträdet till en server | melanie_pfefer | Sun Solaris | 1 | 02-25-2008 02:55 |
| Är det möjligt att komma åt från en server i databasen i en annan server. | debu | UNIX för avancerade & Expertanvändare | 1 | 05-20-2007 05:42 |
| Kan inte komma åt filer på egen server | Djaunl | UNIX for Dummies Frågor & Svar | 3 | 07-20-2006 10:19 |
![]() |
|
|
LinkBack | Thread Tools | Sök i denna tråd | Rate Thread | Visningslägen |
|
|
|
||||
|
tillgång till min server är alltid tillåtet
Hej,
Jag kan inte neka tillgång till min server. Om jag besöker http://localhost Jag kan alltid se alla filer. Varför? Kod:
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Deny from All
</Directory>
Kod:
<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>
tack |
|
|||||
|
Se Apache mod_access dok.
Här är en ledtråd: Kod:
SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in
<Directory /docroot>
Order Deny,Allow
Deny from all
Allow from env=let_me_in
</Directory>
|
|
||||
|
Hej,
Jag har modifierats för att Kod:
<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>
Jag har också försökt Kod:
Order Deny,Allow Deny from All Kod:
Order Deny,Allow |
![]() |
| Komihåglista |
| Thread Tools | Sök i denna tråd |
| Visningslägen | Betygsätt denna tråd |
|
|