Saturday, May 28, 2005

Change in Profile Upload Policy - 2005

I've noticed that some users are tying to be funny by putting cartoon pictures as their profile. Thus, I've changed the upload procedure to prevent GIF pictures from uploading. This is because most cartoons are in GIF format while ordinary pictures are in JPG / JPEG format.

Friday, May 06, 2005

Rederection Code Fixed...

There were faults in the redirection coding. I have found that the old code is taking too much overhead on the server. Thus I have written a new optimised code so that the site would work faster this time and you can get to the user via a short URL. e.g: www.mychub.com/gemukchub.

This is a snippet of the code -------

RewriteEngine onRewriteBase /mambo
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?option=com_partystaff&Itemid=68&func=fullview&staffname=$1 [R]


# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*


order deny,allow
deny from all
allow from all


order deny,allow
deny from all

AuthName www.mychub.org
AuthUserFile /home/mychub/domains/mychub.org/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mychub/domains/mychub.org/public_html/_vti_pvt/service.grp