Problem #2:

I pointed the browser to www.mydomain.com/drupal-4.7.3 The "Welcome to your new Drupal website!" appeared, but when I entered my username and passowrd, I got this error message:

Method Not Allowed: The requested method POST is not allowed for the URL /index.html.

Any help?

-Doug

Comments

HTML files cannot be 'posted' to.
That method of retrieving pages via HTTP is not valid for static HTML pages.

In your case, you tried to POST (submitting, which is a bit like writing) information to a page (index.html) that is only ever supposed to be read. Generally, it has to be a script (like cgi/php/asp etc) in order to be able to handle input. Thus the error.

What this means is that a page called 'index.html' was being invoked instead of index.php. And that's wrong.

What CAUSED it was that you didn't check the install instructions where it gave instructions for installing Drupal in a subdirectory - and the need to set the base_url correctly.

The error message is telling you that the drupal request got sent to your normal home page www.mydomain.com/index.html when it should have gone to the subdomain www.mydomain.com/drupal-4.7.3/index.php

Fix your base_url in the settings.php

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

Thanks Dan for your help.

I downloaded Drupal 4.7.3 today. I did read the INSTALL.txt from thop to bottom (except for the part of creating a database (I knew how). No where did it give instruction about installing Drupal in a sub-directroy. I did a word search for "sub-directory" and "subdirectroy" and "base_url" - nothing.

UNder "Configure Drupal" the file did mention that... "You should consider creating a "files" subdirectory in your Drupal installation directory as custom logos, user avatars, and other media associated with your new site." I didn't really understand this, but I did create a new folder/directory in the drupal-4.7.3 file/directory.

I just found the setting.php file and am checking it out.

Did I get a defunct INSTALL.txt file - do you think, or am I missing something here?

-Doug

P.S. I'd like to create a test-site. Can I just create a sub-domain (subdomain.mydomain.com), and then copy, the files over? I've never done this, and am looking for a good web dev. startegy. I think I saw something in the Best Practices section, as I surfed on by, but since you seem to be "in the know", I thought I'd ask

Mucho Gracias!

---
Doug | webmaster

You've probably found it by now, but

* Base URL (optional).
*
* If you are experiencing issues with different site domains,
* uncomment the Base URL statement below (remove the leading hash sign)
* and fill in the URL to your Drupal installation.

It's optional only if things just work. Sometimes (I've got a setup where) it just does, but depending on your versions of apache and PHP, some of the required environment variables - that deduce the context - don't work right.

As far as test sites, it can be a little hairy, but yes your method should work.
A real test site would probably be best using a db_prefix, so as to remain separate from your real one, then you'd sync the DBs,... but that's a bit of work to get your head around.

I'm thinking that if you do just copy a domain - this base_url will be the one thing you'll have to change to make it live again.

.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/

rename html to php!!!
dman - i can't tell how much right you are :) i had this error on my godaddy hosting, and after i renamed my html files to php everything's ok now :)

thank you

Method Not Allowed
The requested method POST is not allowed for the URL /web_projects/chateau_lesparre/a.com.

--------------------------------------------------------------------------------

Apache/1.3.23 Server at localhost Port 80

Who can help me