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

Yahoo! in Talks to Buy MySpace: Is That a Good Idea Nowadays?

I don't why Yahoo! has MySpace on their mind. As it has already peak above all the other free social networks. A better candidate that seems to be growing steadily is FaceBook!
Yahoo! in Talk to Buy MySpace: Is That a Good Idea Nowadays? -

yahoomyspace.jpg

Well this is big. Apparently, Yahoo! has discussed buying MySpace from News Corp in a bid to save itself from irrelevance. In return, News Corp. would get 30 percent of the newly combined Yahoo!+MySpace. Or, in dollar amounts, News Corp would cash in to the tune of $11.1 billion. Considering Murdoch and Co. bought MySpace for $650 million, I’d say that’s a deal and a half. Too bad Yahoo!’s recent restructuring puts the deal, if there ever really was one, in jeopardy.

But you know what? A lot of us here think that buying Facebook is the better move for Yahoo! Let’s admit it: MySpace simply isn’t what it was two years ago and all the momentum in the world appears to be behind Facebook. Its community is just what advertisers love—kids with cash to burn—and the site isn’t a disaster to read like MySpace can be.

News Corp explores swap of MySpace site for Yahoo! stake [TimesOnline]

[CrunchGear]
Read More

Windows Live Photo Gallery 2008 12.0.1193.815 Beta

Microsoft is pumping out more free software for the masses. I've never heard or seen Windows Live Photo Gallery, but I thought about downloading and installing this application to give it a whirl. During the install, I asked to install a bunch more Windows Live applications. Specifically the Mail component, since my MSN account is attached to my Hotmail. After installing everything, I ran the Windows Live Photo Gallery, and it was pretty amazing.
Read More

TweakVista open beta begins

Having problems with customizing your Vista? Look no further, TweakVista will allow you to do what you want with Vista.
TweakVista open beta begins - Popular tweaking site TweakVista.com and Stardock have teamed up to create a new utility for Windows Vista users called TweakVista. TweakVista allows users to change many low level settings in Windows Vista as well as makes many lesser known settings more user-friendly. The utility has settings for security (to manage the UAC), memory optimization, resource control, start-up management, performance assessments, benchmarks, and integration with TweakVista.com.


Read full story...

[NeoWin-Software]
Read More

AT&T To Impose Early Cancellation Charge On iPhone

AT&T To Impose Early Cancellation Charge On iPhone -

Thinking about getting an iPhone, unlocking it, then jetting across the street to T-Mobile? Better think twice before doing that friend, ’cause AT&T is out to nail you with a hefty fine for backing out of your agreement with them. Despite the iPhone not being a subsidized item for AT&T, the company still will charge you $175 for terminating your contract early. Sucky, I know.

Like I’ve said in the past, AT&T needs to retain these iPhone customers that will swarm stores next week. Imposing a cancellation fee of that caliber sucks, but it’s how the world works. No word if customers with existing accounts will be subject to the fee.

AT&T to impose $175 early iPhone cancelation fee [Apple Insider]

[CrunchGear]
Read More