Community & Support

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

I just installed 5.0-beta1 and it seemed to go really well. It appeared that the database was set up properly and I created my first account. When I logged on I noticed the following errors in the Status Report:

>Unicode library Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.

>Web server Apache
Unable to determine your web server type and version. Drupal might not work properly.

I created some test content and went to view it at www.example.com and got the following error:

>Forbidden
You don't have permission to access / on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I'm new to Drupal (and CMS in general) so the solution may be simple and I just cant see it.

Thanks in advance for any help and please let me know if theres any other info I need to provide to help solve the problem.

Comments

Was that error message

a Drupal one or an Apache one?

I suspect it is an Apache one and that you haven't configured index.php as your DirectoryIndex in Apache. What happens if you browse to http://www.example.com/index.php ? If that works, you just need to configure Apache so that index.php is the default page that gets loaded when don't specify any filename in your browser request.

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ

--
Anton

Its an Apache Error

Thanks for the reply.

My index.php file is located here: www.example.com/drupal-5.0-beta1/index.php. When I point my browser there it works. Do I just need to move the index.php file to www.example.com/? Seems like I'd have to make sure Drupal knew where I moved it to if that was the case.

Please forgive me....I am a newbie.
Drupal 5.0 Beta 1 via Go Daddy.

OK

I had assumed because you tried www.example.com, that your Drupal files were in your web root directory and not a subdirectory.

Anyway...

Does www.example.com/drupal-5.0-beta1/ work?

If so, then your Apache DirectoryIndex directive is set correctly and you can ignore my earlier post. If not you (or your host) will still need to configure Apache properly so that index.php is the default page that gets loaded whenever the incoming URL doesn't specify a file.

If you want www.example.com to be your sites address don't just move index.php by itself, move all the Drupal files and subdirectories out of /drupal-5.0-beta1 and into your web root directory. That is mentioned in the INSTALL.txt file.

Good luck!

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ

--
Anton

Thanks!

Moved all files. Its working great now. Thanks.

Please forgive me....I am a newbie.
Drupal 5.0 Beta 1 via Go Daddy.

.htaccess not readable

In my case apache couldn't read .htaccess file in drupal root directory
The CHMOD of an htaccess file should be 644 or (RW- R-- R--). ...

Another noob...

Also a newbie. Getting only one of the errors that Dash7 reported:

"Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support."

How do I install the PHP mbstring extension?

Thanks in advance.

If it is on your own server,

If it is on your own server, you can find about installing the mbstring extension here.

http://php.net/mbstring

If it is on a hosted account, you will have to convince your host to install it.

My host recently refused to do it, but that didn't cause me any problem (and I even use a non-english language).

cog.rusty, Do you have your

cog.rusty,

Do you have your problem solved, for that same site you had this same mbstring problem with, since then? (I notice your reply is just under a year old).

I ask because my host 'claims' that mbstring is installed (or has been installed now), but yet i still have the same mbstring warning in my Status Report.

Was wondering if your warning for that site has gone away (if mbstring has been installed for you since then), even though you had that warning initially.

Want to know if this problem is easily rectifiable. Because my warning is still there, despite what my host claims.

(no title)

I have left that host since that time for other reasons (their hosting plans and prices were way off the competition), and now I have mbstring. But as I said, the lack of mbstring never caused me any problem, although my content was mostly in Greek. For English I wouldn't worry at all.

Here's an interesting solution that worked for me

I had copied our Drupal 6.15 site down from one server (FreeBSD) to our development server (Ubuntu), and started getting this error, but only for clean URL pages (/admin, /contact, etc) index.php?q=admin worked, but no sublinks.

What I did to fix it is as follows.

Create a new directory next to your existing web directory.
Download and unzip Drupal into the new directory. (this will create all the core files with the correct permissions. Don't forget to copy the .htaccess !!)
Now copy the contents of your existing web directory over the top of the new directory. (overwriting the files, but leaving the permissions the same)
Then delete or rename your old web directory and replace it with the new one.

Worked for me!

nobody click here