Apache shows this error message when you don’t have mod_rewrite enabled. To enable it follow below steps
1. cd to apache2 (usually in cd /etc/apache2 )
2. enter this command – sudo a2enmod rewrite
3. now restart the apache service – sudo service apache2 restart
That’s it !
I need to manually reset the brightness setting on each restart on my Ubuntu desktop, I found following solution mentioned on stackoverflow.
To see the current settings,
$ cat /sys/class/backlight/intel_backlight/max_brightness
then I modified the code in
$ gksudo gedit /etc/rc.local
——- BEGIN FILE —————————–
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# By default this script does nothing.
echo 4882 > /sys/class/backlight/intel_backlight/brightness
——- END FILE —————————–
Ref – http://askubuntu.com/questions/151651/brightness-is-reset-to-maximum-on-every-restart
I have installed Phpmyadmin on my Ubuntu Server, but while accessing it I am getting
The requested URL /phpmyadmin was not found on this server.
Error message, I have found following solution which worked for me.
- Add the following line to the end of of file /etc/apache2/apache2.conf:
- to add this line enter this command sudo nano /etc/apache2/apache2.conf
- Restart Apache by giving this command on the command line:
sudo /etc/init.d/apache2 restart
(As an alternative to step 2, you can command
sudo service apache2 restart