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

Bricks, apps, and warranties, oh my! Apple, AT&T hit with $800 million suit

Follow up on bricking, apps, and warranties as well as the $800 Million Dollar Suit brought upon Apple and AT&T.
Bricks, apps, and warranties, oh my! Apple, AT&T hit with $800 million suit - Another class action lawsuit has been filed against Apple and AT&T, which takes to task the companies' actions when it comes to locking the iPhone to a specific carrier, blocking out third-party applications, the "bricking" debacle, and the iPhone's warranty.
Read More

Apple passes Amazon to become the #3 US music retailer

Apple passes Amazon to become the #3 US music retailer -

Filed under: ,


Things must seem pretty rosy in Cupertino -- just a week before the mega-hyped launch of you-know-what, market research group NPD's quarterly survey shows Apple has passed Amazon to become the third biggest music retailer in the US. This isn't the biggest of surprises, since Steve himself predicted that the iTunes Store would overtake Amazon at the Showtime event back in September, but the leap to #3 is a little unexpected, since Apple also outpaced Target last quarter. iTunes is now rocking a 10% market share, just behind Wal-Mart at 16% and Best Buy at 14%, and while we don't expect to see it pass those two giants anytime soon, we'd bet that uptick in DRM-free sales has got the iTMS crew at Apple licking their chops.

 

Read | Permalink | Email this | Comments


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

[EnGadget]
Read More

Mobile Chat iPhone Application Updates and News About Latest Release

I was just forwarded a link to the blog of Mobile Chat's company Twenty08's. You can view it here - twenty08. There is some interesting information that was just posted today. Information that a lot of people have been looking for over the last little while after purchasing the Mobile Chat iPhone Application on Apples Application Store. The two recent posts go in depth into some of the problems with the Mobile Chat Application on the iPhone, a new version being released and how they're trying to fix the problems everyone is experiencing.
Read More

Adobe says Acrobat, Reader vulnerable to hacks

This is a disturbing as most white pages and manuals ranging from automobiles and computer motherboards are in PDF format. Even eBooks could be an easy way for a hacker to gain access to your machine, illegal books put online could be a trap for unsuspecting downloaders.
Adobe says Acrobat, Reader vulnerable to hacks - BOSTON (Reuters) - Adobe Systems Inc, whose software is used by millions of people to read documents sent over the Internet, said on Wednesday some of its programs contain yet-to-be-fixed flaws that make computers vulnerable to attack. On October 5, Adobe posted a notice on its Web site that said it had unknowingly incorporated vulnerabilities into versions of Adobe Reader and Acrobat software that could allow malicious programs to get on to a PC without the user's knowledge.
Read More

WWDC Leopard Beta Leaked Onto BitTorrent Site

I haven't seen this on any private trackers that I'm on. It looks like it hasn't fully been leaked. Either way, I want to install this and try it out. I am definitely liking OSX more and more as they keep adding features and GUI improvements.
WWDC Leopard Beta Leaked Onto BitTorrent Site -

leooinkleaked.jpg

It looks like the WWDC beta of Leopard was leaked onto the Oink BitTorrent Web site. (I’m not about to download it, though, that’s for sure.) Here’s a screen shot. And another. And another. That last one made me laugh. Oops!

Nobody’s completely downloaded the 6GB file yet, but the site’s forum is red hot with activity and the file already has 205 comments. Choice lines about the leak in recent days have included “this is f*#$ing ridiculous. i want leopard, and i want it now. hurry, before some heads start to roll” and “Please do not talk about this torrent file outside of OINK.”

Someone should notify Apple.

[CrunchGear]
Read More