Publish web site on users home directory
When you linux administrator. You can allow space to launch own web sites to limited users.
If you want to do that follow these
Create a user
Create a password for user
Create directory in user's home directoery as “ public_html” (without quotes)
(public_html directory must owned by the same user)
Edit following line in "/etc/httpd/conf/httpd.conf" file
#UserDir disable
UserDir public_html
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
[root@testsrv ~]# chmod 711 /home/ca844
[root@testsrv ~]# chmod 755 /home/ca844/public_html/
If you could not read in "Sinhala Language" properly. Please download and install "Unicode" For Sinhala from http://www.siyabas.lk site freely..
Friday, May 27, 2011
reminder add-on එකක්
මේක ඒ සයිට් එකෙන්ම කොපිකලාට සොරි ආයෙත් ආයෙත් ලියන්න කම්මැලි නිසා
reminder add-on එකක් firefox වලට
එහෙම්ම කොපි කලා මේක මරු add-on එක firefox වලට දැනටමත් දාපු අය ඇතිනේ.....
Never forget again! ආයෙත් අමතක නොවෙන්න මෙන්න මේවා කරන්න පුලුනන්...
1. Display and manage lists of reminders and to-dos.
2. Make sure you remember all of your important dates via easy-to-use lists, alerts, and alarms.
3. Be reminded right in your browser without the need for a separate calendar application.
reminder add-on එකක් firefox වලට
එහෙම්ම කොපි කලා මේක මරු add-on එක firefox වලට දැනටමත් දාපු අය ඇතිනේ.....
Never forget again! ආයෙත් අමතක නොවෙන්න මෙන්න මේවා කරන්න පුලුනන්...
1. Display and manage lists of reminders and to-dos.
2. Make sure you remember all of your important dates via easy-to-use lists, alerts, and alarms.
3. Be reminded right in your browser without the need for a separate calendar application.
Thursday, May 26, 2011
Redirection Tags
Redirection tag in html and php
PHP redirection
<?php
header('Location: https://WebAddress');
?>
Example;
<?php
header('Location: https://itbuddhika.blogspot.com');
?>
HTML redirection
Placing the code below on your web page within home tag
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://itbuddhika.blogspot.com;">
will be redirected to http://itbuddhika.blogspot.com in 5 seconds after loading.
PHP redirection
<?php
header('Location: https://WebAddress');
?>
Example;
<?php
header('Location: https://itbuddhika.blogspot.com');
?>
HTML redirection
Placing the code below on your web page within home tag
<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://itbuddhika.blogspot.com;">
will be redirected to http://itbuddhika.blogspot.com in 5 seconds after loading.
Convert uif file to iso in Fedora
We can convert UIF ( .uif ) files to ISO ( .iso ) files using uif2iso application.
This is a command line tool for convert uif file to iso.
First -->We have to install uif2iso application to the our computer
Second --> Then we can convert uif to iso format.
Example;
[root@upab ~]#uif2iso /home/buddhika/Premier.uif /home/buddhika/Myvideo/premierTutorial.iso
We can convert UIF ( .uif ) files to ISO ( .iso ) files using uif2iso application.
This is a command line tool for convert uif file to iso.
First -->We have to install uif2iso application to the our computer
[root@upab ~]# yum install uif2iso
Second --> Then we can convert uif to iso format.
[root@upab ~]#uif2iso source.uif destination.iso
Example;
[root@upab ~]#uif2iso /home/buddhika/Premier.uif /home/buddhika/Myvideo/premierTutorial.iso
Subscribe to:
Posts (Atom)