RSS - Latest posts Archive for August, 2008

Home » Archive for August, 2008
29Aug
2008

openSUSE 11 on Lenovo Thinkpad X61 (tablet pc)

I have this weird ability to fall in love with gadgets that are not yet on the market… Twice in a row when choosing my laptop tablet pcs I went for something that will be available *soon*. This has the unfortunate disadvantage of being firstly very pricey, and secondly not very well supported on Linux. Both times the hardware gave me countless hours of trouble. Obviously now the Thinkpad X61 isn’t such a novelty, so life is a bit easier.

I have been recently converted to openSUSE, and after eagerly waiting for version 11 I finally got a chance to install it.

(more…)

Categories:

28Aug
2008

Server Error 500 - htaccess require valid-user

I just spent a good couple of minutes hitting my head against the wall, trying to figure out why a perfectly good .htaccess file suddenly stopped working.

AuthName "Restricted Area"
AuthType Basic
AuthUserFile /YOUR_PATH/www/.htpasswd
AuthGroupFile /dev/null
require valid-user

After commenting things out it seemed that it was the last line that was causing the problems. However do not be fooled. Careful inspection and a bit of Google searching led me back to the AuthUserFile declaration.

But what could be wrong with it? The file exists on the server. The passwords are properly encrypted. The problem was the “www” folder. Or should I rather say symlink. Changing “www” to the original folder: “public_html” solved the issue.

Moral for today: .htaccess does not like symlink folders when it comes to .htpasswd…

Categories: