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

Sailing To A New Island With The Pirate Bay

Just an update from the Pirate Bay in regards to what there current situation is, and a status update on everything that is going on.
Sailing To A New Island With The Pirate Bay - Being in The Pirate Bay team means you have a very busy life. Running the world's largest tracker and dealing with raids and court cases leaves little time for anything else. But as usual, the Pirate Bay guys still make the time to update their fans on their plans to buy an island.
Read More

Top 40 Drupal Projects and Modules

A great list of modules that you can use to make your durpal shine. This site at the moment uses quite a few of them with further modiciation.
Top 40 Drupal Projects and Modules - Angie Byron, Robert Douglass, Jeff Eaton, and Jeff Robbins celebrate the 40th podcast with cake, champagne, and a countdown of the top 40 Drupal Projects. Here's the list (Many thanks to Greg Knaddison for the linkifying!).
Read More

SueTube: sex, copyright, and rock & roll

Give this a gander. All of the current lawsuits against YouTube/Google, when they started taking down videos of Russel Peters and other popular shows. I cried.
SueTube: sex, copyright, and rock & roll -

Since its launch, YouTube has been a magnet for controversy. Ars looks at the popular video site's history of threats, lawsuits, and bans with an eye towards understanding what the landscape will look like once the dust settles.

Read More...

[Ars Technica]
Read More

Fiber Optic Table Illuminates Your Dining

Fiber Optic Table Illuminates Your Dining - Deepa writes "We highly doubt LumiGram's Luminous Fiber Optic Tablecloth was designed with power outages in mind, but why hook up a boring string of lamps or fiddle with half melted candles when you can plug this bad boy into the generator? The cloth, which has fiber optics woven throughout, cotton borders, and a Europlug mains adapter, proves most useful when the lights are dimmed, and should prove quite the centerpiece at your next get-together. The illuminating device is available in a trio of sizes, comes in a variety of color schemes."

Read more of this story at Slashdot.

[Slasdot]
Read More

AT&T LG Prada-ish phone leaked

More information about the Prada phone in regards to the US version.
AT&T LG Prada-ish phone leaked - Woosah. You have no idea how much this leak pisses me off, but that’s neither here nor there. The Gizza has the scoop on the US AT&T version of the LG Prada, which is the CU920 and not the KE850. This, however, seems to be much better with supposed 3G and it’s pretty lightweight. It has iPhone-like zooming when browsing, but a few more steps required. Who knows when this sucker is going to be announced, but the two main touchscreen rivals on the same network? Like whoa.AT&T LG Prada Spy Shots
Read More