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

Helio Ocean Graffiti Hotness

Helio Ocean Graffiti Hotness -

I’m a Sidekick 3 fanboy through and through, but Helio is definitely making its case. I’ve had an Ocean for a few weeks now and I’ll admit that I love it. The GPS feature is hot and it definitely helps me out when I manage to get lost in NYC. I came across some really cool vids that Helio has put up on Youtube and I thought I’d share it with everyone. This particular video is of STASH and his ongoing mural for the Ocean on the Upper West Side of NYC. Not only is the art hot, but the music by Lady Tigra will rock you out. Check out all the other Helio vids here.

[CrunchGear]
Read More

Solar motorbike uses snail shell shape for surface area

Solar motorbike uses snail shell shape for surface area -

Filed under:


Powering a car with solar panels is a relatively easy task, but on a motorbike it's a lot harder to find flat surfaces to catch the sun. That means that a solar powered motorbike has got to look rather odd in order to provide enough surface area for the panels: hence the snail shell-like design of SunRed's prototype solar powered bike. When (or if) SunRed completes a real world prototype, the bike's surface area will be 25 square feet, allowing the bike to store enough of the sun's energy to ride for 13 miles at speeds of up to 30 MPH. The motor is integrated into the wheel too, so there's no transmission. Once these "green" bike thinkers sort out the problem of running a bike without oil, we hope they'll move onto making them a little less fugly. It seems like a precedent is being set here.

[Via Autoblog Green]

 

Read | Permalink | Email this | Comments


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

[EnGadget]
Read More

Linksys WRT54G and WRT54GL Being Phased Out?

I went to pick up a Wireless Router from a local computer shop http://www.a-power.com in hopes of grabbing a WRT54GL or at least a WRT54GS. The main reason being that I could flash the hardware to run DD-WRT http://www.dd-wrt.com which is a third part open source router firmware.
Read More

How to setup the perfect desktop in Ubuntu Gutsy Gibbon

The following article from howtoforge.com shows how to setup the perfect Linux Desktop using Ubuntu Gutsy Gibbon. If you've always wanted to use Ubuntu as your desktop OS, then give this article a read and follow along using a Virtual Machine or VMWare Player.
Read More