![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 200 Pomógł: 1 Dołączył: 4.08.2012 Ostrzeżenie: (10%) ![]() ![]() |
witam zainstalowalem ostatnio na nowym windowsie 8 wamp server. gdy wchodze wyrzuca mi 403 forbidden (na xamppie tez). na poprzednim win 7 nie bylo tego problemu, nie wiem czy to kwestia windowsow ale na wszelki wypadek mowie. jak moge to naprawic, jakies zmieny w http.conf? patrzylem na kilku stronach, zmienialem deny from all, dopisywalem .80 do allow to 127.0.0.1 ale nic..
http.conf: Kod # ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such # as error documents. e.g. admin@your-domain.com # ServerAdmin admin@localhost # # ServerName gives the name and port that the server uses to identify itself. # This can often be determined automatically, but we recommend you specify # it explicitly to prevent problems during startup. # # If your host doesn't have a registered DNS name, enter its IP address here. # ServerName localhost:80 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "c:/wamp/www/" # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories). # # First, we configure the "default" to be a very restrictive set of # features. # <Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Allow from all </Directory> # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # <Directory "c:/wamp/www/"> # # 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 # [url="http://httpd.apache.org/docs/2.2/mod/core.html#options"]http://httpd.apache.org/docs/2.2/mod/core.html#options[/url] # for more information. # Options Indexes FollowSymLinks # # 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 all # # Controls who can get stuff from this server. # # onlineoffline tag - don't remove Order Deny,Allow Allow from all Allow from 127.0.0.1 </Directory> # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # <IfModule dir_module> DirectoryIndex index.php index.php3 index.html index.htm </IfModule> # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> Ten post edytował webdice 10.11.2012, 23:22:08
Powód edycji: [webdice]: Dodałem bbcode.
|
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 264 Pomógł: 20 Dołączył: 19.08.2007 Skąd: Bryńsk k. Lidzbarka Welskiego (nie mylić z Warmińskim) Ostrzeżenie: (0%) ![]() ![]() |
Zobacz czy masz odpowiednie uprawneinia dla katalogów i plików.
Windows 8 daje inne uprawnienia dla partycji sytemowej niż Windows 7 ( tak mi się wydaje, aczkolwiek windowsa 7 nie używałem) |
|
|
![]()
Post
#3
|
|
Grupa: Zarejestrowani Postów: 200 Pomógł: 1 Dołączył: 4.08.2012 Ostrzeżenie: (10%) ![]() ![]() |
na forum wampa dostalem odpowiedz ze to problem z 'host files'. ktos Lapie o co biega?
|
|
|
![]()
Post
#4
|
|
Developer Grupa: Moderatorzy Postów: 3 045 Pomógł: 290 Dołączył: 20.01.2007 ![]() |
Do error loga zaglądałeś?
PS. Kod proszę umieszczać w odpowiednich znacznikach. |
|
|
![]()
Post
#5
|
|
Grupa: Zarejestrowani Postów: 200 Pomógł: 1 Dołączył: 4.08.2012 Ostrzeżenie: (10%) ![]() ![]() |
access
apache_error
tak wiec ktos wie o co biega z tym host file dla win8? Ten post edytował michat34 11.11.2012, 00:01:15 |
|
|
![]()
Post
#6
|
|
Grupa: Zarejestrowani Postów: 590 Pomógł: 107 Dołączył: 25.10.2011 Ostrzeżenie: (0%) ![]() ![]() |
::1 to adres loopbacka w protokole IPv6, w IPv4 jest to 127.0.0.1.
Dlaczego tam jest ipv6 - nie wiem. Wiem tylko tyle, że używanie ipv6 aktualnie jeszcze nie jest zbyt rozpowszechnione, i w domu po prostu wyłączyłem cały stos v6. |
|
|
![]()
Post
#7
|
|
Grupa: Zarejestrowani Postów: 1 045 Pomógł: 141 Dołączył: 19.09.2006 Skąd: B-tów Ostrzeżenie: (0%) ![]() ![]() |
plik hosts w win jest tu %SystemRoot%\system32\drivers\etc\hosts
ale ja myślę że to problem z uprawnieniami do katalogu ewentualnie zawsze możesz zmienić system (IMG:style_emoticons/default/smile.gif) Ten post edytował sazian 11.11.2012, 13:06:11 |
|
|
![]()
Post
#8
|
|
Grupa: Zarejestrowani Postów: 587 Pomógł: 131 Dołączył: 8.02.2010 Ostrzeżenie: (0%) ![]() ![]() |
|
|
|
![]()
Post
#9
|
|
Grupa: Zarejestrowani Postów: 590 Pomógł: 107 Dołączył: 25.10.2011 Ostrzeżenie: (0%) ![]() ![]() |
Masz w pliku coś takiego:
Kod Order Deny,Allow Allow from all Allow from 127.0.0.1 Zmień to na: Kod Order allow,deny Allow from all Chodzi oczywiście o sekcję <Directory "c:/wamp/www/"> Napisz, jak efekty. |
|
|
![]() ![]() |
![]() |
Aktualny czas: 23.08.2025 - 17:49 |