Apache: You don't have permission to access /wordpress/ on this server.
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Apache: You don't have permission to access /wordpress/ on this server.
Hi.
When i write in the IP of the apache server in webbrowser the default apache page comes up. But when i write xx.xx.xx.xx/wordpress i get You don't have permission to access /wordpress/ on this server.
Here you define the name of your site and the directory which contains the code for your web. Add this to the config file. (the section Directory)
Code:
<VirtualHost 111.22.33.44>
ServerName www.xxxx.com
DocumentRoot /var/www/html
<Directory "/var/www/html/wordpress">
AllowOverride None
Options All
Order allow,deny
Allow from all
DirectoryIndex index.php index.html index.htm
</Directory>
</VirtualHost>
The Options should be not None but All.
Although I have no idea for what do you need this - it worked for me. NOTE!!
I did not examine what such configuration can cause on your web. Do this on your own responsibility.
[Thu Aug 20 12:53:06 2009] [error] [client 32.53.34.166] Directory index forbidden by Options directive: /var/www/html/
This is not the wordpress directory, but your DocumentRoot. Does wordpress work now?
As for the error, you have to add "+Indexes" in the Options directive for the Directory in question and maybe add index.php in the DirectoryIndex line as hua mentioned.
This is not the wordpress directory, but your DocumentRoot. Does wordpress work now?
As for the error, you have to add "+Indexes" in the Options directive for the Directory in question and maybe add index.php in the DirectoryIndex line as hua mentioned.
IMHO you don't have to reinstall the OS. If it's a generic mysql problem post it here, or create another thread for it.
If it's specific to WP, I think that you can read the wordpress documentation on how to add a table in mysql to use it with WP.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.