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

Dash 7 - November 23, 2006 - 04:30

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.

Was that error message

styro - November 23, 2006 - 08:26

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

Its an Apache Error

Dash 7 - November 23, 2006 - 13:29

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.

OK

styro - November 23, 2006 - 17:32

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

Thanks!

Dash 7 - November 25, 2006 - 01:39

Moved all files. Its working great now. Thanks.

Another noob...

spudmouse - December 8, 2006 - 06:05

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,

cog.rusty - December 8, 2006 - 08:42

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

jason342 - October 13, 2007 - 13:33

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)

cog.rusty - October 13, 2007 - 14:25

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.

 
 

Drupal is a registered trademark of Dries Buytaert.