apache

You are browsing the archives of "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 up the current directory to [...]

Popularity: 14%

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, [...]

Popularity: 17%

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 can either [...]

Popularity: 19%

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 on my webhost server, I never [...]

Popularity: 22%

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 to session manager:
Authentication Rejected, [...]

Popularity: 13%

Steep learning curve with Apache server

OK, last night I installed Apache and PHP. I was going to install MySQL this evening, but I decided that instead I would start with the next project I have, which is updating the template for Tranquillizer. So I thought that the most sensible way to do this would be to upload all the files [...]

Popularity: 11%