By electronicmonkey on
How can I achieve friendly URL ( www.xyx.com/abc )on 1and1 without destroying my website ?I tried it once and my site crashed. Lucky to have it back.
How can I achieve friendly URL ( www.xyx.com/abc )on 1and1 without destroying my website ?I tried it once and my site crashed. Lucky to have it back.
Comments
If you adjust your .htaccess
If you adjust your .htaccess file by uncommenting the rewrite base line, you should be fine:
# If your site is running in a VirtualDocumentRoot at http://example.com/,
# uncomment the following line:
RewriteBase /abc
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com
Feedback: http://drupal.org/node/180284
I am a writer, researcher and solo drupal freelancer.
Je peux communiquer en français.
If things go wrong, how do I
If things go wrong, how do I recover ?
Just return the .htaccess
Just return the .htaccess file to its original form. But I have done this a hundred times on 1and1 and it works fine, assuming you have installed your site correctly.
You can also check your settings.php file and uncomment the base URL line, which sometimes is needed to fully remedy the problem:
----------------------------------------------------------------------
http://music.bwv810.com
http://davidhertzberg.com
I am a writer, researcher and solo drupal freelancer.
Je peux communiquer en français.
Ditto on bwv's solution. It
Ditto on bwv's solution. It works for me, too.
BTW, found this one out through trial and error: If you have your site on 1and1 as www.mysite.com/public_html and you have the 1and1 directory set as www.mysite.com/public_htm for your home directory, you do not change your base to www.mysite.com/public_html . Just use www.mysite.com
Connie
I get Error 500 when I click
I get Error 500 when I click "run the clean url test" link.
My site didn't do that. But
My site didn't do that. But I had some problems with my first drupal installation (D4.7) because I didn't know how to set up my htaccess file when I had my drupal site in a subdirectory.
Do you have your drupal site in a subdirectory?
Also, last time I researched 1and1, they defaulted to php4.
To make them default to php5, add this to your .htaccess file, at the top:
AddType x-mapp-php5 .php
Connie
Tried that and it completely
Tried that and it completely gives Error 500 whatever I try to do . I could only recover by deleting .htaccess Following is the content of my .htaccess
My .htaccess file looks
My .htaccess file looks exactly like yours. Hmm. Let's go a step back then. Are you using the Linux package or the Windows packages? Are you using Mysql 4 or Mysql 5? Are you using a subdirectory for your Drupal installation?
Connie
Linux
Linux
MySQL database 4.0.27
PHP 4.4.9
Drupal 5.7
Web server Apache/1.3.34 Ben-SSL/1.55
main directory
MySQL
MySQL database 5.0.51a
PHP 5.2.6
Here's the only thing different between your setup and mine. I can't tell you why mine works and yours doesn't. That's beyond the scope of my trial-and-error knowledge. This is a new setup, right? Can you start over and use the 5.0 database? And add that line about php 5 into your htaccess file too.
Why are you installing Drupal 5.7? Drupal is up to 5.10 now. I've got 1and1 sites on both drupal 5.10 and 6.4 that are all working correctly.
Hang in there! I started playing with Drupal this time last year and have become a devoted fan. (Defected to Joomla for awhile. Found it much easier to set up but it wasn't flexible enough for me and I was not happy with all the paid modules that may or may not work when Drupal offers so much out of the goodness of the contributors' hearts.)
Connie
works great
AddType x-mapp-php5 .php
at the top using drupal 6.15 with ubercart
you can also try adding
AddHandler x-mapp-php5 .php
here is more information:
http://drupal.org/node/322913