473,854 Members | 1,664 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

You don't have permission to access / on this server. on windows 7

132 New Member
Hello
Apache 2.2.17
PHP 5.3.5
windows 7
i have this probleme Forbidden

You don't have permission to access / on this server.
i have on httpd.conf
Expand|Select|Wrap|Line Numbers
  1. ServerName localhost:80
  2. DocumentRoot c:/wamp/www/
  3. <Directory />
  4.     Options FollowSymLinks
  5.     AllowOverride All
  6.     Order  Deny,Allow
  7.     Deny from all
  8. </Directory>
  9. <Directory C:/wamp/www/>
  10. Options Indexes FollowSymLinks
  11. AllowOverride all
  12.  Order Allow,Deny
  13. Deny from all
  14. Allow from 127.0.0.1
  15. </Directory>
  16.  
i have on my projet web on folder public the file .htaccess
Expand|Select|Wrap|Line Numbers
  1. SetEnv APPLICATION_ENV development
  2. RewriteEngine On
  3. RewriteCond %{REQUEST_FILENAME} -s [OR]
  4. RewriteCond %{REQUEST_FILENAME} -l [OR]
  5. RewriteCond %{REQUEST_FILENAME} -d
  6. RewriteRule ^.*$ - [NC,L]
  7. RewriteRule ^.*$ index.php [NC,L]
and i have on apache_error.lo g
Expand|Select|Wrap|Line Numbers
  1. [client 127.0.0.1] C:/wamp/www/Web/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/
  2. [Sun Jun 19 22:17:48 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
  3. [Sun Jun 19 22:17:49 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
  4. [Sun Jun 19 22:17:50 2011] [error] [client 127.0.0.1] client denied by server configuration: C:/Dev, referer: http://localhost/Web/
  5. [Sun Jun 19 22:17:50 2011] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
thanks for help
Jun 21 '11 #1
2 31003
Dormilich
8,658 Recognized Expert Moderator Expert
try
Expand|Select|Wrap|Line Numbers
  1. Order Allow, Deny
  2. Allow from all
currently it seems you’re denying all access, so / would be forbidden.
Jul 9 '11 #2
udaman
1 New Member
@Dormilich
This is a good solution. It worked for me.
Feb 12 '13 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
1693
by: A.A. Fussy | last post by:
What VB.NET code would I use to access the standard Windows about box (like the one yoiu get when you select Help-About in Windows Explorer)
2
1890
by: Jim Pettway | last post by:
I am trying to run MS Access 97 on Windows ME and it continuously crashes (will not read Access data and then Windows locks up). The program runs fine on Windows 95 and Windows XP. Somewhere I read that Windows ME had problems with Access 97. Has anyone had any experience with this setup? Please give me some help with this situation. Jim Pettway
2
1578
by: Steve Jorgensen | last post by:
I have recently had reason to worke on 3 different Access/VBA applications of different sizes on Windows XP machines. In all cases, I've had frequent instances of code changes being discarded, and having to re-write the changes. has anyone else seen this problem? It was pretty embarassing for a while delivering code that worked before I closed Access, then failed upon deployment. I finally developed the habit of copying my code into...
15
7271
by: brettclare | last post by:
I have linked a large SQL Server table to Access, however 'only' 2,195,439 records are shown and are available to query. Can I increase the size (cache??)/number of records showing in Access? Thank you.
9
3756
by: Steve Jorgensen | last post by:
Hi all, Frankly, this is such an off-beat thing, I don't know if anyone else here will ever have the same issue. Just in case anyone does, though... I needed to be able to search for the first string in a recordset that is the same as a specified string value, or the one that would be right after that if it doesn't exist. Several searches per second may occur, so I needed to search within the recordset first, and only query the...
4
3216
by: musicloverlch | last post by:
I used to be able to create PDFs, automatically save them to a file, and mail them out to people. This was on Access 97 with Windows NT. We've changed to Windows XP and Access 2003. Doesn't work anymore. Part of the problem is that the users have no access to the registry and can only save files on the C:\ drive to their My Documents folder. I found this code on the web, but it doesn't work either. The files continue to print out of my...
2
2178
by: Lior Amar | last post by:
Hey All, Trying to understand why I can not get SQL server to trust my IIS server. I have two machines set up, 1 App and 1 DB, and I'm trying to validate the applications access to the DB server via NT Authentication. The App comes in via NTLM which from my understanding only supports Single hop security delegation. So far I understand why it doesn't work, although seems to me like a very bad problem. Now, Basic Authentication will...
4
4213
by: Don Parker | last post by:
Does the use of server side controls eg <asp:textbox> preclude the access to that control by client script? If not, how do you reference those elements? *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
2
2564
by: William LaMartin | last post by:
in Visual Studio 2005 I have a what is now called in 2005 a web site that when run as a file base web connects fine to SQL Express running on the local machine. However, when I publish this web to a sub web of the default web in IIS on the local machine, and load the page that accesses SQL Server Express in the browser it produces a permission error for ASPNET. How do I grant ASPNET permission to SQL Server Express? I have read that I...
0
1490
by: Stanley Sin | last post by:
Dear all , How can I remote access SQL server 2000 using vb.net? I don't know how to use ADO.net to remote access database . Any solutions? Thanks in advance. Stanley
0
9752
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11031
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10763
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10371
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9517
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7918
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7082
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.