I’m trying to do the following:
$ sudo pico apache2.conf
It’s not working. I’m in the directory that this file is in, but to ensure this had nothing to do with location, I tried the following, too:
$ sudo pico /etc/apache2/apache2.conf
That didn’t work either. I looked at the permissions, and it says that the owner has read / write permission.
The funny thing is that it’s not even being read into pico, but yet, the services are functionally perfectly fine and I can use KATE on the actual box to read the contents at least… What the heck is going on here? This is so frustrating. Ha.
Here’s what I’m trying to do: Create public_html directories for people using SSH into my server. I’ve created the following symlinks for this:
sudo ln -s …/mods-available/userdir.load
sudo ln -s …/mods-available/userdir.conf
…but after doing this and restarting Apache, I receive the following error message:
[Fri Feb 04 14:13:39 2011] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
So after looking around, I found the following in the “/etc/phpmyadmin/apache.conf” file:
Alias /phpmyadmin /usr/share/phpmyadmin
After commenting it out, I restart Apache. I then try the “/~user” URLs, but I only receive a “not found” message. Oh, and to top that off, phpMyAdmin doesn’t work either–I have to leave the Alias inside of apache.conf for that to work…
What gives?