Hello Everybody.

A total newbie here. Could you kindly point me to the right direction?
I've got stuck with my Drupal 7 deployment to a remote machine.

My story goes as follows:
I have a Drupal 7 site developed on my local Windows machine. I installed Drupal using WAMP server
as guided by https://www.drupal.org/node/1995312.
The site seems to be working fine and I would like to move it to my Client's server.

To that server I have only an FTP access and I see the directory tree there.
Judging by http://wiki.apache.org/httpd/DistrosDefaultLayout#FreeBSD_6.1_.28Apache_...
my Client may have a FreeBSD 6.1 (Apache httpd 2.2) distribution.

I've been given a folder where I am supposed to move the developed site.
The directory tree on my machine is as follows "D:\wamp\www\MYSITE".

I copied the MYSITE directory tree to "dataa/MYSITE/web/html/" directory on Client's machine, changed the Password, Database and User Name entries in the "sites/default/settings.php" file. I've also tried to modify RewriteCond, RewriteRule, and RewriteBase entries in the ".htaccess" file without any apparent effect.

Now when I try to read the "http://something/MYSITE" or "http://something" directory (with or without the "www") from my browser I receive the following error:

"Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request."

Now, the Administrator guy on the Client's machine is not very cooperative and I don't get much advice from him. I am not sure if some sort of Drupal installation is needed or a simple FTP transfer and a tuning-up would do the trick.

If an installation is required, does one need administrative rights to do it? The Admin guy tells me that PHP, Apache and MySQL are all present on the Server, so only Drupal is missing.

Thank for your patience and please let me know how I should proceed.
Best regards,

Feynman

Comments

feynmanadmirer’s picture

...I've just forgotten to mention that I've successfully exported my local database to the remote MySQL server.
Thank you, Feynman.

narendraR’s picture

Check Apache logs if you have access. Or replace .htaccess file with a fresh .htaccess file. Write /q=user in front of url to check if working or not. Check phpinfo of server if some module is missing there.

Let's Drupal

feynmanadmirer’s picture

NarendraR, thank you very much for your suggestion. Unfortunately I haven't been able to connect to their server at all, for three days or so. They are probably doing some sort of Easter overhaul, or have just taken their server off-line for the time being. All the best.

sanjay.soni’s picture

Some time .htaccess file could not copied because that file is hidden in drupal root.
Make sure .htaccess is copied to Server

Best Regards,
Sanjay
skype:er.sanjaysoni

susan5in7’s picture

I copied the MYSITE directory tree to "dataa/MYSITE/web/html/" directory on Client's machine, changed the Password, Database and User Name entries in the "sites/default/settings.php" file. I've also tried to modify RewriteCond, RewriteRule, and RewriteBase entries in the ".htaccess" file without any apparent effect.

hi feynman,

you can deploy your site easily. just do the following steps

  1. Instead of copying just do a fresh drupal installation into your destination folder.
  2. copy whole contents from your "sites/all" directory to client's "sites/all" directory.
  3. copy whole contents from your "sites/default/files" directory to client's "sites/default/files" directory.
  4. from your local machine export the whole database in sql format through phpmyadmin.
  5. open your client's phpmyadmin and drop all tables which were installed by drupal.
  6. import the exported "sql database" from client's phpmyadmin
  7. If you are using any table prefix just care about that to change in settings.php
  8. clear the cache and refresh.
  9. done.
feynmanadmirer’s picture

The World is a beautiful place if only because of Drupal and "her" Supporters. :)) Thank you so much, sanjay.soni and susan5in7. Yes, I've checked the ".htaccess" file, and it HAS been copied over. Now I'll try what susan5in7 has suggested. Thank you very much, guys.