English 中文(简体)
WAMP 服务器 ERROR 。 页: 1
原标题:WAMP Server ERROR "Forbidden You don t have permission to access /phpmyadmin/ on this server."
  • 时间:2012-05-15 12:36:34
  •  标签:
  • php
  • wamp

Hi Friends previously I am using XAMP Server but when I install joomla Templates it creates alots of error. Now I installed the WAMP, but the issues are: 1. I can access with 127.0.0.1, but I cant access with "localhost". 2 When i access phpmyadmin i get this error.

隐蔽 你没有获准进入这一服务器。

 Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.4.5/" 

# to give access to phpmyadmin from outside 
# replace the lines
#
#        Order Deny,Allow
#   Deny from all
#   Allow from 127.0.0.1
#
# by
#
#        Order Allow,Deny 
#   Allow from all
#

在变化之后,它将考虑这一点。

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>

紧接着重新启用Wamp

最佳回答

Go 页: 1 C:wampalias. 开放文件phpmyadmin.conf和改动

<Direc页: 1ry "c:/wamp/apps/phpmyadmin3.5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Direc页: 1ry>

页: 1

<Direc页: 1ry "c:/wamp/apps/phpmyadmin3.5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Allow,Deny
    Allow from all
</Direc页: 1ry>

解决问题

问题回答

http://www.un.org。

西欧和其他国家:

<Direc页: 1ry />
    AllowOverride none
    Require all denied
</Direc页: 1ry>

页: 1

<Direc页: 1ry />
    AllowOverride none
    Require all granted
</Direc页: 1ry>

So none of the above stuff worked for me. Except this: edit httpd.conf,

见第2段。

Listen 80 

更改

listen 0.0.0.0:80 

如果你正在经营8个窗口,那么它就与使用Pipv6而不是Pipv4有关。

Go to C:wampalias. Open the file phpmyadmin.conf and add

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from MACHINE_IP

2. 编次:

替换Listen 80 iiiListen 0.0.0.0:80

替换

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

iii

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>

替换

onlineoffline tag - don t remove

Order Deny,Allow
Deny from all
Allow from 127.0.0.1

iii

onlineoffline tag - don t remove

Order Deny,Allow
Allow from all
Allow from 127.0.0.1

in wampaliasphpmyadmin.conf replace

<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>

iii

<Directory "c:/wamp/apps/phpmyadmin3.4.10.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    Allow from ::1
</Directory>

Tested on windows localhost. Note : Please consider RigsFolly s comment also.

WampServer 2.2与Pharma 2.4.2 我最后说:

Options Indexes FollowSymLinks MultiViews
AllowOverride all
Require local

为解决这一问题,我开放了<代码>d.conf,并修改了以下路线:

Allow from 127.0.0.1

:

Allow from 127.0.0.1 ::1

我面临这一问题

Forbidden You don t have permission to access /phpmyadmin/ on this server

这方面的一些帮助:

第一次检查你安装了新鲜花,或更换了现有的厕所。 如果没有问题,现有安装就没有问题了。

执行这些步骤。

  1. Open your wampinmysql directory
  2. Check if in this folder there is another folder of mysql with different name, if exists delete it.
  3. enter to remain mysql folder and delete files with duplication.
  4. start your wamp server again. Wamp will be working.

just add following line in wamp/alias/phpmyadmin.conf
Allow from ::1

这样一来,它就会看好像你们的Sandmyadmin版本。

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
    Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
</Directory> 

如果其可能无损的码头当时作为管理人运行安装,那么我就改变了。 file 象

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Allow,Deny
    Allow from all
    Allow from all
</Directory>

不: 作为上述解决办法的行政管理,我对我来说没有工作。

将<代码>c:wampaliasphpmyadmin.conf的文档内容改为:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
        Allow from all
</Directory>

在这里,我安装的WAMP是装在箱子里的。 根据您的安装情况加以修改。

此前,情况就是如此:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
</Directory>

复会 在进行这些改动后,阿帕奇服务器。

在您的笔记中(http://www.o.un.org/french/ga/president)

公正改革

< Directory "c:/wamp/www/" > ...
...

"Require local" ===> "Require all granted"
< /Directory >

这使其他板块能够进入(阅读)你的网页。

在以下新网站做了改动:<代码>d.conf。 档案

<Directory />
    AllowOverride none
    Require all granted
</Directory>

phpmyadmin.conf

<Directory "c:/wamp/apps/phpmyadmin4.0.4/">
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Allow,Deny
    Allow from all
</Directory>

并重新启用我的服务器。

上述答复都没有对我有效,或者在不安全的情况下(如一些人指出的,使用<代码>)。 允许从所有上查阅您的档案和数据。

开放<代码>c:wampaliasphpmyadmin.conf 档案和变更

Allow from 127.0.0.1

页: 1

Allow from 127.0.0.1  ::1

解释:

  • On most computer systems, localhost resolves 页: 1 the IP address 127.0.0.1, which is the most commonly used IPv4 loopback address, and 页: 1 the IPv6 loopback address ::1 (source: https://en.wikipedia.org/wiki/Localhost)
  • The resolution of the name localhost in页: 1 one or more IP addresses is configured by the following lines in the operating system s hosts file:

    127.0.0.1    localhost
    ::1          localhost
    
  • 页: 1 see your hosts file, go 页: 1 c:WindowsSystem32driversetcHOSTS

  • notice the above lines are commented out with the note: # localhost name resolution is handled within DNS itself.

在我的机器上,我还注意到:

  • localhostphpmyadmin did not work on Chrome, but worked on IE11
  • 127.0.0.1phpmyadmin worked on Chrome

评 注 要求从httpd.conf到当地人。

“要求地方”





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签