Category: Apache

  • Setup WordPress on Fedora

    Commands (Cont. for wordpress) cd /var/www/html sudo wget sudo tar -xzvf latest.tar.gz sudo rm -r latest.tar.gz sudo mv wordpress [name of folder] — EITHER // move contents one level up mv [name of folder]/* . rmdir [name of folder] — OR // go into directory cd [name of folder] sudo mv wp-config-sample.php wp-config.php sudo…

  • Setup .htaccess (Ubuntu)

    Commands (Ubuntu) sudo a2enmod rewrite sudo service apache2 restart vi etc/apache2/apache2.conf change AllowOverride None to AllowOverride All (see below) Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all sudo service apache2 restart

  • Setup .htaccess (Fedora)

    Command (Fedora) sudo vi /etc/httpd/conf/httpd.conf Change AllowOverrider to “All” for html directory Change for both and the one outside, then run sudo apachectl -k restart sudo service httpd restart Finally, make changes to htaccess (look at the bottom of permalinks page in WP)