The UNIX and Linux Forums  
Hallo en welkom van de Verenigde Staten aan de UNIX en Linux Forum! Bedankt voor uw bezoek en Deelnemen aan onze wereldwijde gemeenschap.

Go Back   De Unix-en Linux Forum > Speciale Forums > Web Programmeren, Web 2.0 en mash-ups
.
google unix.com



Web Programmeren, Web 2.0 en mash-ups Bespreek Web Programmeren en Web Server Administration, waaronder LAMP, Apache, MySQL, Flash, HTML, SEO, mash-ups en andere web-API's en onderwerpen.

Meer UNIX en Linux Forum Onderwerpen Misschien vindt u Helpful
Draad Thread Starter Forum Antwoorden Last Post
Je hebt geen toestemming om toegang / op deze server. aneuryzma Web Programmeren, Web 2.0 en mash-ups 9 05-21-2009 02:08 PM
Kan een script gerund in lokale server toegang externe server? luna_soleil Programmeren en Shell Scripting 3 02-26-2009 05:38 PM
beperken van de toegang tot een server melanie_pfefer SUN Solaris 1 02-25-2008 02:55 PM
Is het mogelijk om toegang te krijgen tot een server uit de database van een andere server. debu UNIX for Advanced & Expert Gebruikers 1 05-20-2007 05:42 PM
Kan geen toegang tot bestanden op de eigen server Djaunl UNIX voor Dummies Questions & Answers 3 07-20-2006 10:19

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Zoeken in deze Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-22-2009
aneuryzma aneuryzma is offline
Geregistreerde gebruiker
  
 

Join Date: mei 2009
Posts: 60
toegang tot mijn server is altijd toegestaan

Hoi,

Ik kan niet ontkennen van de toegang tot mijn server. Als ik bezoek http://localhost Ik kan altijd zien dat alle bestanden.
Waarom?


Code:
<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Deny from All
</Directory>






Code:
<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>

bedankt
  #2 (permalink)  
Old 05-22-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Locatie: Azië Pacific
Berichten: 6.670
Zie de Apache mod_access doc.

Hier is een tip:

Code:
SetEnvIf User-Agent ^KnockKnock/2\.0 let_me_in
<Directory /docroot>
    Order Deny,Allow
    Deny from all
    Allow from env=let_me_in
</Directory>
  #3 (permalink)  
Old 05-22-2009
aneuryzma aneuryzma is offline
Geregistreerde gebruiker
  
 

Join Date: mei 2009
Posts: 60
Hoi,

Ik heb aangepast om

Code:
<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>
maar toch alles is toegankelijk.

Ik heb ook geprobeerd

Code:
Order Deny,Allow
Deny from All
en

Code:
Order Deny,Allow
Ik ben er zeker van dat de directory-pad correct is, omdat de indexering werkt.
  #4 (permalink)  
Old 05-22-2009
Neo's Avatar
Neo Neo is online now Forum Staff  
Administrator
  
 

Join Date: Sep 2000
Locatie: Azië Pacific
Berichten: 6.670
Heeft u na elke herstart apache configuratie veranderen?
  #5 (permalink)  
Old 05-22-2009
aneuryzma aneuryzma is offline
Geregistreerde gebruiker
  
 

Join Date: mei 2009
Posts: 60
ja!

apachectl sudo-k restart

en verfrist firefox cache
Closed Thread

Bladwijzers

Thread Tools Zoeken in deze Thread
Zoeken in deze Thread:

Uitgebreid zoeken
Display Modes Beoordeel deze draad
Beoordeel deze draad:

Posting Regels
Jij mag niet Post Nieuwe threads
Jij mag niet na antwoorden
Jij mag niet post attachments
Jij mag niet bewerk uw berichten

BB code is Aan
Smilies zijn Aan
[IMG] code Aan
HTML-code is Uit
Trackbacks zijn Aan
Pingbacks zijn Aan
Refbacks zijn Aan




Alle tijden zijn GMT -4. Het is nu 04:11 PM.


Powered by: vBulletin, Copyright © 2000 - 2006, Jelsoft Enterprises Limited. Vertalingen Powered by .
vBCredits v1.4 Copyright © 2007 - 2008, PixelFX Studios
De Unix-en Linux Forums Copyright © 1993-2009. Alle rechten Reserved.Ad Beheer door RedTyger

Content Relevante URL's door vBSEO 3.2.0