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

InstantBird 0.1: A light weight multi-protocol Instant Menssenger for Windows/Linux/MacOSX

InstantBird is a mutli-protocol Instant Messenger that uses parts of Pidgin and Firefox, it is open source and is available to Windows, Linux and MacOSX.
Instantbird is a multi-protocol Instant Messaging client. Using it, you can connect to all your different IM accounts. It uses the Mozilla rendering engine to display IMs, and the Pidgin libpurple to connect to the different networks. Instantbird is a free and open source software. So you are free to use, distribute and modify it. The project is just on its first release, many features are not implemented yet. We hope you will like it and look forward to get your feedback!
Visit the official InstantBird Site
Read More

A list of changes and fixes in the iPhone 2.1 Firmware

There is a full list of changes and fixes in the new iPhone 2.1 firware on Apples site, which you can read here: http://www.apple.com/iphone/softwareupdate/ I've also included them below:
General Updates * Decrease in call set-up failures and dropped calls. * Significantly better battery life for most users. * Dramatically reduced time to backup to iTunes. * Improved email reliability, notably fetching email from POP and Exchange accounts. * Faster installation of 3rd party applications.
Read More

Powerful MediaWiki Plugin allows you to display articles based on specific criteria.

If you run MediaWiki software, then you really need to check this plugin out. This paticular plugin allows you to pick specific criteria, the below example shows some of the parameters you can pass: category=+Africa|Europe category=Politics and conflicts ordermethod=category,sortkey headingmode=ordered You can setup a list of last modified articles, top articles, newly created article. For full documentation on what parameters are available you can view the DPL Manual at <a href="http://semeb.com/dpldemo/index.php?title=DPL:Manual"http://semeb.com/dpldemo/index.php?title=DPL:Manual The official link on MediaWiki's extension page: http://www.mediawiki.org/wiki/Extension:DynamicPageList
Read More

AMD price cuts

AMD had to cut some of its pricing for its processors, Intel right now is offering $300 CAD for the Core Duo E6850 3.0Ghz which is a dual core processor. Hopefully Intel will start slashing some of its prices come Q1 2008.
AMD price cuts - Digitimes reports that AMD has chopped prices by 5 to 28 percent [Digg Main]
Read More

DOJ Pushes Microsoft to Produce Vista SP1 Beta in ’07

Wow, Hey Bill Gates your OS sucks, please send a Service Pack. K Thx.
DOJ Pushes Microsoft to Produce Vista SP1 Beta in '07 - It's unusual, but confirmation of the availability of Windows Vista's first service pack came Tuesday not from Microsoft Corp., but from the U.S. Department of Justice. Tucked into the government's 27-page joint status settlement report released late Tuesday was evidence that Microsoft will put the beta of Vista SP1 into users' hands before the end of the year. The report also confirmed Windows XP SP3, but did not specify beta or final release dates, although it said some code would be finalized this summer.

Microsoft has been loath to talk about either service pack, but has been particularly mum about Windows Vista SP1, a widely-anticipated bug update that some enterprise users are waiting on before deploying the new operating system. As recently as April, when Intel Corp.'s CEO Paul Otellini hinted that Vista SP1 would likely release in October or November, Microsoft refused to confirm any schedule. "We will continue to take customer feedback from programs like the TAP [Technology Adoption Program], and will ultimately determine an official delivery date as the service pack is nearer to completion," a company spokeswoman said at the time.

View: Full Story
News source: PC World

Read full story...

[NeoWin-Main]
Read More