Blog: 2023-06-14: Difference between revisions

From razwiki
Jump to navigation Jump to search
(Created page with "Got php redirects to work, what a hassle... Solution was to put the following in <code>/etc/apache2/sites-available/000-default.conf</code>: <pre> RewriteEngine On Rewri...")
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}\.php -f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}\.php -f
RewriteRule ^(.*)$ $1.php [L]
RewriteRule ^(.*)$ $1.php [L]
</pre>https://serverfault.com/questions/627116/unable-to-request-urls-without-php-file-extension-after-upgrade-to-ubuntu-14-04/627972#627972
</pre>

Ok a new day. I'm opening emacs and seeing all sorts of junk messages, very distracting. A solution would be to have continuous integration for emacs, which would error if there was a warning in the startup. Worth a go... started to poke at this with my editor-testing repo.


Could make a write up of my weave app development experience.

Latest revision as of 15:44, 14 June 2023

Got php redirects to work, what a hassle...

Solution was to put the following in /etc/apache2/sites-available/000-default.conf:

  RewriteEngine On
  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-d
  RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}\.php -f
  RewriteRule ^(.*)$ $1.php [L]

https://serverfault.com/questions/627116/unable-to-request-urls-without-php-file-extension-after-upgrade-to-ubuntu-14-04/627972#627972

Ok a new day. I'm opening emacs and seeing all sorts of junk messages, very distracting. A solution would be to have continuous integration for emacs, which would error if there was a warning in the startup. Worth a go... started to poke at this with my editor-testing repo.


Could make a write up of my weave app development experience.