wamp Forbidden 403 内网其他机器无法访问

wamp安装php程序后,本地可以访问,内网其他机器方式时,提示 You don't have permission to access / on this server. 403 Forbidden,求助各位大神。

注:服务器为win server 2008 R2

目前部分配置信息

图片说明

1个回答

左键点击 wamp 右下角图标 开启外网访问

airfoil
致命ID 配置文件httpd.conf中访问限制已更改为 Require all granted ,还是不行
3 年多之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
403 Forbidden您没有权限访问此服务器上的/c:/wamp/www/index.php

<div class="post-text" itemprop="text"> <p>I successfully installed WAMPServer 2.4 on Windows7. Everything seems to work fine, except that when I try to access localhost/wamp/www/index.php it throws the following exception:</p> <p>"Forbidden You don't have permission to access /c:/wamp/www/index.php on this server"</p> <p>PHPMYADMIN and LOCALHOST are running good.</p> <p>I have done all the advised modifications on the hhtp.conf and httpd-vhosts.conf files. But the same error occurs. What could be the problem here? Assistance would be appreciated.</p> <p>This is what my httpd_vhosts.conf looks like:</p> <pre><code># Virtual Hosts # # Required modules: mod_log_config # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. Most configurations # use only name-based virtual hosts so the server doesn't need to worry about # IP addresses. This is indicated by the asterisks in the directives below. # # Please see the documentation at # &lt;URL:http://httpd.apache.org/docs/2.4/vhosts/&gt; # for further details before you try to setup virtual hosts. # # You may use the command line option '-S' to verify your virtual host # configuration. # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for all requests that do not # match a ServerName or ServerAlias in any &lt;VirtualHost&gt; block. # &lt;VirtualHost *:80&gt; ServerAdmin webmaster@dummy-host.example.com DocumentRoot "c:/Apache24/docs/dummy-host.example.com" ServerName dummy-host.example.com ServerAlias www.dummy-host.example.com ErrorLog "logs/dummy-host.example.com-error.log" CustomLog "logs/dummy-host.example.com-access.log" common &lt;/VirtualHost&gt; &lt;VirtualHost *:80&gt; ServerAdmin webmaster@dummy-host2.example.com DocumentRoot "c:/Apache24/docs/dummy-host2.example.com" ServerName dummy-host2.example.com ErrorLog "logs/dummy-host2.example.com-error.log" CustomLog "logs/dummy-host2.example.com-access.log" common &lt;/VirtualHost&gt; &lt;VirtualHost *:80&gt; ServerAdmin user@localhost DocumentRoot "c:/wamp/www" ServerName localhost &lt;/VirtualHost&gt; </code></pre> <p>and my httpd.conf:</p> <pre><code># # This is the main Apache HTTP server configuration file. It contains the # configuration directives that give the server its instructions. # See &lt;URL:http://httpd.apache.org/docs/2.4/&gt; for detailed information. # In particular, see # &lt;URL:http://httpd.apache.org/docs/2.4/mod/directives.html&gt; # for a discussion of each configuration directive. # # Do NOT simply read the instructions in here without understanding # what they do. They're here only as hints or reminders. If you are unsure # consult the online docs. You have been warned. # # Configuration and logfile names: If the filenames you specify for many # of the server's control files begin with "/" (or "drive:/" for Win32), the # server will use that explicit path. If the filenames do *not* begin # with "/", the value of ServerRoot is prepended -- so "logs/access_log" # with ServerRoot set to "/usr/local/apache2" will be interpreted by the # server as "/usr/local/apache2/logs/access_log", whereas "/logs/access_log" # will be interpreted as '/logs/access_log'. # # NOTE: Where filenames are specified, you must use forward slashes # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). # If a drive letter is omitted, the drive on which httpd.exe is located # will be used by default. It is recommended that you always supply # an explicit drive letter in absolute paths to avoid confusion. # # ServerRoot: The top of the directory tree under which the server's # configuration, error, and log files are kept. # # Do not add a slash at the end of the directory path. If you point # ServerRoot at a non-local disk, be sure to specify a local disk on the # Mutex directive, if file-based mutexes are used. If you wish to share the # same ServerRoot for multiple httpd daemons, you will need to change at # least PidFile. # ServerRoot "c:/wamp/bin/apache/apache2.4.4" # # Mutex: Allows you to set the mutex mechanism and mutex file directory # for individual mutexes, or change the global defaults # # Uncomment and change the directory if mutexes are file-based and the default # mutex file directory is not on a local disk or is not appropriate for some # other reason. # # Mutex default:logs # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the &lt;VirtualHost&gt; # directive. # # Change this to Listen on specific IP addresses as shown below to # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 80 # # Dynamic Shared Object (DSO) Support # # To be able to use the functionality of a module which was built as a DSO you # have to place corresponding `LoadModule' lines at this location so the # directives contained in it are actually available _before_ they are used. # Statically compiled modules (those listed by `httpd -l') do not need # to be loaded here. # # Example: # LoadModule foo_module modules/mod_foo.so # LoadModule access_compat_module modules/mod_access_compat.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule allowmethods_module modules/mod_allowmethods.so LoadModule asis_module modules/mod_asis.so LoadModule auth_basic_module modules/mod_auth_basic.so #LoadModule auth_digest_module modules/mod_auth_digest.so #LoadModule authn_anon_module modules/mod_authn_anon.so LoadModule authn_core_module modules/mod_authn_core.so #LoadModule authn_dbd_module modules/mod_authn_dbd.so #LoadModule authn_dbm_module modules/mod_authn_dbm.so LoadModule authn_file_module modules/mod_authn_file.so #LoadModule authn_socache_module modules/mod_authn_socache.so #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so LoadModule authz_core_module modules/mod_authz_core.so #LoadModule authz_dbd_module modules/mod_authz_dbd.so #LoadModule authz_dbm_module modules/mod_authz_dbm.so LoadModule authz_groupfile_module modules/mod_authz_groupfile.so LoadModule authz_host_module modules/mod_authz_host.so #LoadModule authz_owner_module modules/mod_authz_owner.so LoadModule authz_user_module modules/mod_authz_user.so LoadModule autoindex_module modules/mod_autoindex.so #LoadModule buffer_module modules/mod_buffer.so #LoadModule cache_module modules/mod_cache.so #LoadModule cache_disk_module modules/mod_cache_disk.so #LoadModule cern_meta_module modules/mod_cern_meta.so LoadModule cgi_module modules/mod_cgi.so #LoadModule charset_lite_module modules/mod_charset_lite.so #LoadModule data_module modules/mod_data.so #LoadModule dav_module modules/mod_dav.so #LoadModule dav_fs_module modules/mod_dav_fs.so #LoadModule dav_lock_module modules/mod_dav_lock.so #LoadModule dbd_module modules/mod_dbd.so #LoadModule deflate_module modules/mod_deflate.so LoadModule dir_module modules/mod_dir.so #LoadModule dumpio_module modules/mod_dumpio.so LoadModule env_module modules/mod_env.so #LoadModule expires_module modules/mod_expires.so #LoadModule ext_filter_module modules/mod_ext_filter.so #LoadModule file_cache_module modules/mod_file_cache.so #LoadModule filter_module modules/mod_filter.so #LoadModule headers_module modules/mod_headers.so #LoadModule heartbeat_module modules/mod_heartbeat.so #LoadModule heartmonitor_module modules/mod_heartmonitor.so #LoadModule ident_module modules/mod_ident.so #LoadModule imagemap_module modules/mod_imagemap.so LoadModule include_module modules/mod_include.so #LoadModule info_module modules/mod_info.so LoadModule isapi_module modules/mod_isapi.so #LoadModule lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so #LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so #LoadModule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so #LoadModule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.so #LoadModule ldap_module modules/mod_ldap.so #LoadModule logio_module modules/mod_logio.so LoadModule log_config_module modules/mod_log_config.so #LoadModule log_debug_module modules/mod_log_debug.so #LoadModule log_forensic_module modules/mod_log_forensic.so #LoadModule lua_module modules/mod_lua.so LoadModule mime_module modules/mod_mime.so #LoadModule mime_magic_module modules/mod_mime_magic.so LoadModule negotiation_module modules/mod_negotiation.so #LoadModule proxy_module modules/mod_proxy.so #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so #LoadModule proxy_connect_module modules/mod_proxy_connect.so #LoadModule proxy_express_module modules/mod_proxy_express.so #LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule proxy_html_module modules/mod_proxy_html.so #LoadModule proxy_http_module modules/mod_proxy_http.so #LoadModule proxy_scgi_module modules/mod_proxy_scgi.so #LoadModule ratelimit_module modules/mod_ratelimit.so #LoadModule reflector_module modules/mod_reflector.so #LoadModule remoteip_module modules/mod_remoteip.so #LoadModule request_module modules/mod_request.so #LoadModule reqtimeout_module modules/mod_reqtimeout.so #LoadModule rewrite_module modules/mod_rewrite.so #LoadModule sed_module modules/mod_sed.so #LoadModule session_module modules/mod_session.so #LoadModule session_cookie_module modules/mod_session_cookie.so #LoadModule session_crypto_module modules/mod_session_crypto.so #LoadModule session_dbd_module modules/mod_session_dbd.so LoadModule setenvif_module modules/mod_setenvif.so #LoadModule slotmem_plain_module modules/mod_slotmem_plain.so #LoadModule slotmem_shm_module modules/mod_slotmem_shm.so #LoadModule socache_dbm_module modules/mod_socache_dbm.so #LoadModule socache_memcache_module modules/mod_socache_memcache.so #LoadModule socache_shmcb_module modules/mod_socache_shmcb.so #LoadModule speling_module modules/mod_speling.so #LoadModule ssl_module modules/mod_ssl.so #LoadModule status_module modules/mod_status.so #LoadModule substitute_module modules/mod_substitute.so #LoadModule unique_id_module modules/mod_unique_id.so #LoadModule userdir_module modules/mod_userdir.so #LoadModule usertrack_module modules/mod_usertrack.so #LoadModule version_module modules/mod_version.so #LoadModule vhost_alias_module modules/mod_vhost_alias.so #LoadModule watchdog_module modules/mod_watchdog.so #LoadModule xml2enc_module modules/mod_xml2enc.so LoadModule php5_module "c:/wamp/bin/php/php5.4.16/php5apache2_4.dll" &lt;IfModule unixd_module&gt; # # If you wish httpd to run as a different user or group, you must run # httpd as root initially and it will switch. # # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. # User daemon Group daemon &lt;/IfModule&gt; # 'Main' server configuration # # The directives in this section set up the values used by the 'main' # server, which responds to any requests that aren't handled by a # &lt;VirtualHost&gt; definition. These values also provide defaults for # any &lt;VirtualHost&gt; containers you may define later in the file. # # All of these directives may appear inside &lt;VirtualHost&gt; containers, # in which case these default settings will be overridden for the # virtual host being defined. # # # 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@example.com # # 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 # # Deny access to the entirety of your server's filesystem. You must # explicitly permit access to web content directories in other # &lt;Directory&gt; blocks below. # &lt;Directory /&gt; AllowOverride none Require all granted &lt;/Directory&gt; # # 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. # # # 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" &lt;Directory "c:/wamp/www"&gt; # # 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.4/mod/core.html#options # 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: # AllowOverride FileInfo AuthConfig Limit # AllowOverride All # # Controls who can get stuff from this server. # # Require all granted # onlineoffline tag - don't remove Order Deny,Allow Allow from all Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from localhost &lt;/Directory&gt; # # DirectoryIndex: sets the file that Apache will serve if a directory # is requested. # &lt;IfModule dir_module&gt; DirectoryIndex index.php index.php3 index.html index.htm &lt;/IfModule&gt; # # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. # &lt;Files ".ht*"&gt; Require all denied &lt;/Files&gt; # # ErrorLog: The location of the error log file. # If you do not specify an ErrorLog directive within a &lt;VirtualHost&gt; # container, error messages relating to that virtual host will be # logged here. If you *do* define an error logfile for a &lt;VirtualHost&gt; # container, that host's errors will be logged there and not here. # #ErrorLog "logs/error.log" ErrorLog "c:/wamp/logs/apache_error.log" # # LogLevel: Control the number of messages logged to the error_log. # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # LogLevel warn &lt;IfModule log_config_module&gt; # # The following directives define some format nicknames for use with # a CustomLog directive (see below). # LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %&gt;s %b" common &lt;IfModule logio_module&gt; # You need to enable mod_logio.c to use %I and %O LogFormat "%h %l %u %t \"%r\" %&gt;s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio &lt;/IfModule&gt; # # The location and format of the access logfile (Common Logfile Format). # If you do not define any access logfiles within a &lt;VirtualHost&gt; # container, they will be logged here. Contrariwise, if you *do* # define per-&lt;VirtualHost&gt; access logfiles, transactions will be # logged therein and *not* in this file. # CustomLog "logs/access.log" common CustomLog "c:/wamp/logs/access.log" common # # If you prefer a logfile with access, agent, and referer information # (Combined Logfile Format) you can use the following directive. # #CustomLog "logs/access.log" combined &lt;/IfModule&gt; &lt;IfModule alias_module&gt; # # Redirect: Allows you to tell clients about documents that used to # exist in your server's namespace, but do not anymore. The client # will make a new request for the document at its new location. # Example: # Redirect permanent /foo http://www.example.com/bar # # Alias: Maps web paths into filesystem paths and is used to # access content that does not live under the DocumentRoot. # Example: # Alias /webpath /full/filesystem/path # # If you include a trailing / on /webpath then the server will # require it to be present in the URL. You will also likely # need to provide a &lt;Directory&gt; section to allow access to # the filesystem path. # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the target directory are treated as applications and # run by the server when requested rather than as documents sent to the # client. The same rules about trailing "/" apply to ScriptAlias # directives as to Alias. # ScriptAlias /cgi-bin/ "c:/wamp/cgi-bin/" &lt;/IfModule&gt; &lt;IfModule cgid_module&gt; # # ScriptSock: On threaded servers, designate the path to the UNIX # socket used to communicate with the CGI daemon of mod_cgid. # #Scriptsock cgisock &lt;/IfModule&gt; # # "c:/wamp/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # &lt;Directory "c:/wamp/cgi-bin"&gt; AllowOverride None Options None Require all granted &lt;/Directory&gt; &lt;IfModule mime_module&gt; # # TypesConfig points to the file containing the list of mappings from # filename extension to MIME-type. # TypesConfig conf/mime.types # # AddType allows you to add to or override the MIME configuration # file specified in TypesConfig for specific file types. # #AddType application/x-gzip .tgz # # AddEncoding allows you to have certain browsers uncompress # information on the fly. Note: Not all browsers support this. # #AddEncoding x-compress .Z #AddEncoding x-gzip .gz .tgz # # If the AddEncoding directives above are commented-out, then you # probably should define those extensions to indicate media types: # AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-httpd-php .php AddType application/x-httpd-php .php3 # # AddHandler allows you to map certain file extensions to "handlers": # actions unrelated to filetype. These can be either built into the server # or added with the Action directive (see below) # # To use CGI scripts outside of ScriptAliased directories: # (You will also need to add "ExecCGI" to the "Options" directive.) # #AddHandler cgi-script .cgi # For type maps (negotiated resources): #AddHandler type-map var # # Filters allow you to process content before it is sent to the client. # # To parse .shtml files for server-side includes (SSI): # (You will also need to add "Includes" to the "Options" directive.) # #AddType text/html .shtml #AddOutputFilter INCLUDES .shtml &lt;/IfModule&gt; # # The mod_mime_magic module allows the server to use various hints from the # contents of the file itself to determine its type. The MIMEMagicFile # directive tells the module where the hint definitions are located. # #MIMEMagicFile conf/magic # # Customizable error responses come in three flavors: # 1) plain text 2) local redirects 3) external redirects # # Some examples: #ErrorDocument 500 "The server made a boo boo." #ErrorDocument 404 /missing.html #ErrorDocument 404 "/cgi-bin/missing_handler.pl" #ErrorDocument 402 http://www.example.com/subscription_info.html # # # MaxRanges: Maximum number of Ranges in a request before # returning the entire resource, or one of the special # values 'default', 'none' or 'unlimited'. # Default setting is to accept 200 Ranges. #MaxRanges unlimited # # EnableMMAP and EnableSendfile: On systems that support it, # memory-mapping or the sendfile syscall may be used to deliver # files. This usually improves server performance, but must # be turned off when serving from networked-mounted # filesystems or if support for these functions is otherwise # broken on your system. # Defaults: EnableMMAP On, EnableSendfile Off # #EnableMMAP off #EnableSendfile on # Supplemental configuration # # The configuration files in the conf/extra/ directory can be # included to add extra features or to modify the default configuration of # the server, or you may simply copy their contents here and change as # necessary. # Server-pool management (MPM specific) Include conf/extra/httpd-mpm.conf # Multi-language error messages #Include conf/extra/httpd-multilang-errordoc.conf # Fancy directory listings #Include conf/extra/httpd-autoindex.conf # Language settings #Include conf/extra/httpd-languages.conf # User home directories #Include conf/extra/httpd-userdir.conf # Real-time info on requests and configuration #Include conf/extra/httpd-info.conf # Virtual hosts Include conf/extra/httpd-vhosts.conf # Local access to the Apache HTTP Server Manual #Include conf/extra/httpd-manual.conf # Distributed authoring and versioning (WebDAV) #Include conf/extra/httpd-dav.conf # Various default settings #Include conf/extra/httpd-default.conf # Configure mod_proxy_html to understand HTML4/XHTML1 &lt;IfModule proxy_html_module&gt; Include conf/extra/proxy-html.conf &lt;/IfModule&gt; # Secure (SSL/TLS) connections #Include conf/extra/httpd-ssl.conf # # Note: The following must must be present to support # starting without SSL on platforms with no /dev/random equivalent # but a statically compiled-in mod_ssl. # &lt;IfModule ssl_module&gt; SSLRandomSeed startup builtin SSLRandomSeed connect builtin &lt;/IfModule&gt; # # uncomment out the below to deal with user agents that deliberately # violate open standards by misusing DNT (DNT *must* be a specific # end-user choice) # #&lt;IfModule setenvif_module&gt; #BrowserMatch "MSIE 10.0;" bad_DNT #&lt;/IfModule&gt; #&lt;IfModule headers_module&gt; #RequestHeader unset DNT env=bad_DNT #&lt;/IfModule&gt; IncludeOptional "c:/wamp/vhosts/*" Include "c:/wamp/alias/*" </code></pre> </div>

WAMP:禁止通过IP访问phpmyadmin

<div class="post-text" itemprop="text"> <p>I installed <code>WAMP SERVER</code> on Windows 7 OS, when I launched <code>WAMP SERVER</code> icon turns green. when I hit <code>localhost</code> in browser it shows</p> <blockquote> <p>website declined to show webpage</p> </blockquote> <p>also when I try to access it with <code>IP</code> address in browser, it's shows <code>WAMP</code> <code>index page</code>, </p> <p>but still unable to access <code>PHPMYADMIN</code>, browser produces error:</p> <blockquote> <p>Forbidden, you don't have access...</p> </blockquote> </div>

wamp如何设置外网可以访问

Allow from all 都设置好了.端口也改过 避开了电信封锁的80 改3535,但是外网依旧无法访问..请问应该如何操作?求具体攻略

WAMP localhost服务器文件夹无法使用浏览器访问

<div class="post-text" itemprop="text"> <p>I have installed WAMP on my PC. Successfully Installed. I can access phpmyadmin, localhost. When I'm trying to access my local project folder using localhost it's showing a blank page. Here's my local project path URL. </p> <p>C:\wamp64\www\phpproject. <a href="https://i.stack.imgur.com/PvbvV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PvbvV.png" alt="Check my localhost"></a></p> <p>I clicked on phpproject on localhost. Please check the below image. <em>Observe the URL</em> <a href="https://i.stack.imgur.com/qLjyF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qLjyF.png" alt="Observe the URL"></a></p> <p>When I type manually by using "localhost/phpproject/" it's working fine and showing files list.<a href="https://i.stack.imgur.com/JVELx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/JVELx.png" alt="enter image description here"></a> I want to know the reason why this occurs. I googled a lot but didn't find the exact reason. Somewhere I read about changing the value in index.php in the www folder.</p> <p>*($suppress_localhost ? 'http://' : '') change http:// to <a href="http://localhost/" rel="nofollow noreferrer">http://localhost/</a> *</p> <p>But now the latest version is having a different value in it. Please explain the reason and solution.</p> </div>

wampapache服务 无法启动怎么办

wampserver安装成功但是localhost无法进去而且wampapache服务 无法启动怎么办

在移动设备 - WAMP SERVER中无法访问除localhost主页之外的虚拟主机

<div class="post-text" itemprop="text"> <p>I am trying to access my web app from my phone connected via same router but I am being able to only access the localhost home page but when I click on the respective virtualhost, I am not being able to access the page.</p> <p>I have setup my virtual host through the interface provide in wamp server.</p> <p><strong>Wamp Server Version:</strong> 3.0.6</p> <p><strong>httpd-vhosts.conf</strong></p> <pre><code># Virtual Hosts # &lt;VirtualHost *:80&gt; ServerName localhost DocumentRoot D:/wamp64/www &lt;Directory "D:/wamp64/www/"&gt; Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All #Require local Require all granted &lt;/Directory&gt; &lt;/VirtualHost&gt; # &lt;VirtualHost *:80&gt; ServerName transmit DocumentRoot "d:/wamp64/www/transmit_renewed" &lt;Directory "d:/wamp64/www/transmit_renewed/"&gt; Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All #Require local Require all granted &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> </div>

wamp服务器无法打开Localhost

<div class="post-text" itemprop="text"> <p>I am new in php and now i installed wampserver 2.2 application and when i click to Localhost option, the "Unable to connect" page shown in my Firefox browser.</p> <p>this is my www folder:</p> <p><img src="https://i.stack.imgur.com/WnPSM.png" alt="enter image description here"></p> <p>And this is my <code>index.php</code> file:</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt; Hello To PHP Learning! &lt;/title&gt; &lt;/head&gt; &lt;body&gt; &lt;?php echo 'Hello World'; ?&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> </div>

我的电脑运行了wamp,但是我的ipad和手机都访问不了它

在一个局域网内(192.168.0.* 网段),在网上搜了一下各种配置都试过了,还是访问不了 当我在移动端浏览器输入电脑ip后 打开一个页面 ,显示3行英文 forbidden you dont have perisson to access / on this server apache/2.4.18(win32) php/5.6.19 server at 192.168.0.100 Port 80 我在ipad下了个工具ping 我的电脑是通的。

做完映射后 外网无法访问到服务器上的网页

在2012的服务器上发布了一个Webservice占用80端口 内网的服务器只做了ip映射到外网的地址 外网访问不到webservice 但是可以ping通映射的外网地址 比如服务器地址为1.1.1.1 映射的外网地址为2.2.2.2, 1.1.1.2可以访问到服务器上的webservice 不管是1.1.1.1还是2.2.2.2都可以 但外网2.2.2.3就无法访问 是iis发布的问题还是ip映射的问题 运营商是联通 会不会是吧常用的80端口封了 除了做ip映射还需要做端口的么

wamp环境下网站访问量大会无法加载页面,求大神支招!

自己写了个专门用来点选下午茶的网站供公司内部员工使用,因为是规定时间段进行点选并发访问量大概1000+,用户反应网站卡、无法访问页面等情况,当访问量降下来之后网站访问恢复正常。 采用虚拟机环境,mysql单独布在一台虚拟机作为服务器,apache和php在一台虚拟机。同时这台虚拟机还部署了tomcat服务,页面无法加载时tomcat服务是正常的应该可以排除虚拟机本身问题。 1.页面无法访问时mysql虚拟机CPU占用100%,检查原因为虚拟机CPU配置问题后更改,没有做进一步测试。 2.apache错误日志中出现 指定的网络名不可用。 3.php代码中每个用户调用session大概5个。 个人分析页面无法加载应该不是mysql的问题即使服务器挂了,页面应该能显示只是数据无法加载,问题应该是在apache的httpd.conf设置上,当然,这只是我一个刚入门小白的分析,恳请大神指点,拜谢!

wamp安装后无法正常使用无法使用

安装了wamp,官网下载的,但无法在本机logalhost上打开PHPmyadmin数据库等功能,有人说端口不对,改了端口还无法使用

wampserver下运行PHP程序出现403forbidden错误

小白一枚,求大神帮助! 在wampserver下运行php程序,可以运行处程序首页内容,但一旦出现跳转就会提示403 Forbidden错误,求解 这是代码: ![图片说明](https://img-ask.csdn.net/upload/201707/17/1500254631_832434.png) 这是运行界面是正常的: ![图片说明](https://img-ask.csdn.net/upload/201707/17/1500254644_144186.png) 但是点击提交按钮就出现了错误: ![图片说明](https://img-ask.csdn.net/upload/201707/17/1500254651_641428.png) 这是wampserver的提示是离线,但是服务器运行正常,不知道有没有关系: ![图片说明](https://img-ask.csdn.net/upload/201707/17/1500254660_874875.png)

限制WAMP文件系统访问

<div class="post-text" itemprop="text"> <p>I have a WAMP stack installed in my PC. Yesterday, I was working with file system with PHP and noticed that I can access any directory in my hard disk even above the website document root directory. This is a clear security issue that I want to avoid.</p> <p>Currently, I am using several virtual hosts in my WAMP stack along with custom domain using hosts file.</p> <p>I am looking for some configuration that I can made in httpd.conf file or better if possible in .htaccess file that will limit the access of scripts in various sites to their document root. It will be better if the code doesn't require any changes when I add or remove virtual hosts.</p> </div>

WAMPServer2.5,局域网无法访问二级目录

已解决..原来是我想当然了,实际上更改phpmyadmin的配置即可 ————————————分割线———————————————— 我是Win Server2008系统 WAMPServer2.5跟之前更改的配置完全不一样; 而2.5,按照网上的方法改了两处配置: 即把httpd.conf的230到280行修改为 ``` order deny,allow allow from all # Require local ``` 大致这样 之后,局域网其他机器确实能访问本机器主页,但无法访问二级目录。 提示 You don't have permission to access /phpmyadmin/ on this server. 这样 请问,我该如何做呢?

无法让Python在WAMP服务器上运行

<div class="post-text" itemprop="text"> <p>I am frustrated right now as I have been battling with how to get this to work but no solution that I have followed so far are able to rescue me. I have followed this SO <a href="https://stackoverflow.com/questions/8266153/how-to-install-python-with-wampserver">answer</a> but it is still a futile effort. When I run <code>index.py</code> it says <strong>Unable to connect*</strong>. This is the third day.</p> <p>Just switching from PHP to Python. Have reinstalled <a href="https://www.python.org/ftp/python/3.4.1/" rel="nofollow noreferrer">Python</a> and WAMP server afresh after all the tweaking and would like someone to help me on how to get this to work in any simple way possible. </p> </div>

wamp无法启动

安装wamp之后 双击图标无法启动是怎么回事

让Zend Framework与WAMP一起使用

<div class="post-text" itemprop="text"> <p>Not sure what I'm doing wrong here, all I thought I had to down was change my PHP ini settings to</p> <pre><code>include_path = ".;c:\Program Files (x86)\WAMP\www\Zend\" </code></pre> <p>But it's not working.</p> <p>On my script I simply have:</p> <pre><code>require_once "Date.php"; </code></pre> <p>But get the errors:</p> <pre><code>Warning: require_once(Zend/Date/DateObject.php) [function.require-once]: failed to open stream: No such file or directory in C:\Program Files (x86)\WAMP\www\Zend\Date.php on line 25 Fatal error: require_once() [function.require]: Failed opening required 'Zend/Date/DateObject.php' (include_path='.;c:\Program Files (x86)\WAMP\www\Zend\') in C:\Program Files (x86)\WAMP\www\Zend\Date.php on line 25 </code></pre> <p>Any insight in to what I am doing wrong is greatly appreciated.</p> <p>Thanks.</p> </div>

启用虚拟主机后,Wamp目录无法正常工作

<div class="post-text" itemprop="text"> <p>I have created a virtual host for a new application in wamp.</p> <p>In my <code>httpd.conf</code></p> <pre><code># Virtual hosts Include conf/extra/httpd-vhosts.conf //&lt;--- Removed # </code></pre> <p>In my <code>httpd.vhosts.conf</code> I added a new host</p> <pre><code>&lt;VirtualHost *:80&gt; ServerAdmin webmaster@localhost DocumentRoot "C:/wamp/www/myapp" ServerName myapp.local ServerAlias 127.0.0.1 SetEnv APPLICATION_ENV "development" &lt;Directory "C:/wamp/www/myapp/"&gt; Options Indexes FollowSymLinks MultiViews AllowOverride all &lt;/Directory&gt; &lt;/VirtualHost&gt; </code></pre> <p>The virtual host is working fine. But the problem is my other apps that run without virtual hosts are not working.</p> <p>When i open <code>http://localhost/fistapp/</code> it shows</p> <pre><code>Forbidden 403 You don't have permission to access / on this server. </code></pre> </div>

WAMP:无法打开流:没有这样的文件或目录

<div class="post-text" itemprop="text"> <p>I'm trying to upload a file using PHP. My HTML page with the form is stored at </p> <pre><code>C:\wamp\www\myproject\upload.html </code></pre> <p>PHP page is</p> <pre><code> C:\wamp\www\myproject\upload.php, </code></pre> <p>and the file I'm trying to upload is </p> <pre><code>C:\wamp\www\myproject\openoffice.txt. </code></pre> <p>When I try to upload the file, I get the following error:</p> <blockquote> <p><strong>Warning</strong>: move_uploaded_file(/uploads/openoffice.txt) [function.move-uploaded-file]: failed to open stream: No such file or directory in C:\wamp\www\myproject\upload.php on line 40</p> <p><strong>Warning</strong>: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\wamp\tmp\phpF66A.tmp' to '/uploads/openoffice.txt' in C:\wamp\www\myproject\upload.php on line 40 Problem: could not move file to destination directory</p> </blockquote> <p>Here are lines 40-43 of upload.php:</p> <pre><code>if (!move_uploaded_file($_FILES['userfile']['tmp_name'], $upfile)) { echo 'Problem: could not move file to destination directory'; exit; } </code></pre> <p>The fact that it's looking in upload.php instead of the folder that it's in makes me wonder whether it's a server error or an issue with my PHP.</p> <p>I Googled and got <a href="http://www.php.net/manual/en/function.move-uploaded-file.php#95084" rel="nofollow">this</a> advice but I don't know if it's the right advice, or how to implement it. Help?</p> </div>

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Linux 会成为主流桌面操作系统吗?

整理 |屠敏出品 | CSDN(ID:CSDNnews)2020 年 1 月 14 日,微软正式停止了 Windows 7 系统的扩展支持,这意味着服役十年的 Windows 7,属于...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

学习总结之HTML5剑指前端(建议收藏,图文并茂)

前言学习《HTML5与CSS3权威指南》这本书很不错,学完之后我颇有感触,觉得web的世界开明了许多。这本书是需要有一定基础的web前端开发工程师。这本书主要学习HTML5和css3,看...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

新一代神器STM32CubeMonitor介绍、下载、安装和使用教程

关注、星标公众号,不错过精彩内容作者:黄工公众号:strongerHuang最近ST官网悄悄新上线了一款比较强大的工具:STM32CubeMonitor V1.0.0。经过我研究和使用之...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

冒泡排序动画(基于python pygame实现)

本项目效果初始截图如下 动画见本人b站投稿:https://www.bilibili.com/video/av95491382 本项目对应github地址:https://github.com/BigShuang python版本:3.6,pygame版本:1.9.3。(python版本一致应该就没什么问题) 样例gif如下 ======================= 大爽歌作,mad

Redis核心原理与应用实践

Redis核心原理与应用实践 在很多场景下都会使用Redis,但是到了深层次的时候就了解的不是那么深刻,以至于在面试的时候经常会遇到卡壳的现象,学习知识要做到系统和深入,不要把Redis想象的过于复杂,和Mysql一样,是个读取数据的软件。 有一个理解是Redis是key value缓存服务器,更多的优点在于对value的操作更加丰富。 安装 yum install redis #yum安装 b...

现代的 “Hello, World”,可不仅仅是几行代码而已

作者 |Charles R. Martin译者 | 弯月,责编 | 夕颜头图 |付费下载自视觉中国出品 | CSDN(ID:CSDNnews)新手...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

!大部分程序员只会写3年代码

如果世界上都是这种不思进取的软件公司,那别说大部分程序员只会写 3 年代码,恐怕就没有程序员这种职业。

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

程序员毕业去大公司好还是小公司好?

虽然大公司并不是人人都能进,但我仍建议还未毕业的同学,尽力地通过校招向大公司挤,但凡挤进去,你这一生会容易很多。 大公司哪里好?没能进大公司怎么办?答案都在这里了,记得帮我点赞哦。 目录: 技术氛围 内部晋升与跳槽 啥也没学会,公司倒闭了? 不同的人脉圈,注定会有不同的结果 没能去大厂怎么办? 一、技术氛围 纵观整个程序员技术领域,哪个在行业有所名气的大牛,不是在大厂? 而且众所...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

立即提问
相关内容推荐