Installing Drupal Part I

The Drupal setup portion was pretty easy, I just had to create a database and provide the database login credentials to the Drupal install page. This page is the default page of where you put the install. After this, I was able to post and do all sorts of things. I did hit a hitch though, when I started playing around with the Drupal “Administer/Site configuration Clean URLs/Clean URL’s”. At first it wasn’t enabled, and of course for Search Engine Optimization I wanted them to work. I knew this could only be done by a .htaccess file, but where was it? Well, after further searching on Google I find this little article: http://drupal.org/node/15365 Where it tells you what needs to be in the missing .htaccess file, however the information they provided was: RewriteEngine on RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?q=$1 [L,QSA] Which then gave me an Internal 500 server error, and I kinda new what was going on. But I was being kinda lazy about it. I checked the apache2 log: [Thu Jun 14 13:17:58 2007] [alert] [client 64.180.78.228] /home/geektank/public_html/.htaccess:

The Drupal setup portion was pretty easy, I just had to create a database and provide the database login credentials to the Drupal install page. This page is the default page of where you put the install. After this, I was able to post and do all sorts of things.

I did hit a hitch though, when I started playing around with the Drupal “Administer/Site configuration Clean URLs/Clean URL’s”. At first it wasn’t enabled, and of course for Search Engine Optimization I wanted them to work. I knew this could only be done by a .htaccess file, but where was it?

Well, after further searching on Google I find this little article:

http://drupal.org/node/15365

Where it tells you what needs to be in the missing .htaccess file, however the information they provided was:



RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

Which then gave me an Internal 500 server error, and I kinda new what was going on. But I was being kinda lazy about it. I checked the apache2 log:


[Thu Jun 14 13:17:58 2007] [alert] [client 64.180.78.228] /home/geektank/public_html/.htaccess:

You will need to remove the "If you don't use the .htaccess that comes with Drupal you'll need to add some rewrite rules into your apache directory directive. Consult the .htaccess file in Drupal for examples of rules.

I was still getting a 500 Internal Server Error, and I saw this in the apache2 error log:


[Thu Jun 14 13:18:22 2007] [alert] [client 64.180.78.228] /home/geektank/public_html/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://geektank.net/?q=admin/settings/clean-urls

LOL, I didn't enable mod_rewrite in apache2. Mind you this is a new install of Debian Etch, so I just did a2enmod rewrite and viola, nice clean links!

Now I just need to get the formatting down for Drupal. I'm use to MediaWiki, which powns.


Did you like this article?


0 Shares:
You May Also Like

JVC designs tiny 4k D-ILA chip

JVC designs tiny 4k D-ILA chip -

Filed under: ,

JVC 1.27-inch 4K2K D-ILA chipJVC announced at InfoComm 2007 a 1.27-inch 4K2K D-ILA chip for use in projectors that offer up more than four times high-definition resolution. Intended initially for medical, modeling, and simulation use, the chip can produce a ten-megapixel 4096x2400 pixel image with a 20,000:1 contrast ratio. While DLP-based 4K projectors are currently in use in some digital cinemas, the JVC chip will be used in D-ILA, a variant of LCoS (Liquid Crystal on Silicon), and has a higher pixel density. Much like professional racing technologies trickle down to the average sedan on the street, the research that goes into 4K projectors can also make their way to HDTVs in the home, bringing smaller, higher-definition sets to a living room near you. We say bring on the quad-split-screen HD!

 

Read | Permalink | Email this | Comments


Office Depot Featured Gadget: Xbox 360 Platinum System Packs the power to bring games to life!

[EnGadget]

Comcast traffic blocking: even more apps, groupware clients affected

More information about the supposed filters that Comcast has implemented to curb Bittorrent traffic on its network. Only now it looks as though the appplication suit Lotus Notes is affected.
Last week, we reported on mounting evidence that Comcast is targeting and disrupting BitTorrent traffic on its network. Further digging by interested parties has turned up more indication that BitTorrent isn't the only popular P2P protocol being tampered with by the United States' largest ISP.

PC World Reviews Apple OS X 10.5 (Leopard)

PC World reviews the newest release of Apple's Max OSX version 10.5 codenamed "Leopard". In this review "Edward Mendelson" states one big remark.
"First: despite minor problems, it's by far the best operating system ever written for the vast majority of consumers, with dozens of new features that have real practical value—like truly automated backups, preview images in folders, and notes and to-do lists integrated into the mail program".
I have only played with Leopard in the last few days and seen it in action on a co-workers laptop, and I'm starting to thing more and more about purchasing a Macbook Pro! <!--brea--