Tag Archive for apache

Good Tuition Makes Fast Progress with Linux

Got lots of help and advice this evening from my mate who is a bit of a wizard with computers. This evening I learnt these handy commands: (find . -type f -name ‘*.htm*’); do (to find all files within a directory that end in .htm or .hmtl or .htmanything) tar cvzf ~/mybackup.tar . (to back…

Rock and Roll! .htaccess is running

OK, just found out where I am going wrong. And I am going wrong in more ways than one. Firstly, I need to modify the /etc/apache2/sites-available/default to allow .htaccess rules to override the httpd.conf. Really I should not use .htaccess, but as I am using my Linux as a test environment for my Tranquillizer website,…

Linux Apache MySQL PHP Server aka LAMP

Just found this page on the Ubuntu website, bookmarking it here. Looks like need to make some changes to get the .htaccess working. Also seems that I could have installed LAMP automatically with this command: To install the default LAMP stack in Ubuntu 7.04 (Feisty Fawn) In Feisty, the Ubuntu base system includes Tasksel. You…

sudo chmod -R 755 ./directory

I think that I found the solution, or at least a solution (it does not seem ideal). I typed this: sudo chmod -R 755 ./directory and it works. But, this leads to questions: 1. There must be one command to change permissions for all subdirectories? 2. why ./articles and not just articles? When using chmod…

Problem with permissions

OK, it seems that I have a problem with permissions now (I initially thought that my .htaccess file is missing, which has code in to allow php to be parsed in html files). Anyway, I decided to create a new .htaccess first, using: sudo gedit /var/www/.htaccess and got this message: (gedit:8583): GnomeUI-WARNING **: While connecting…