Skip to main content

PHP files not being served from an aliased directory

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! That's definitely odd, and not something I would expect to happen in normal circumstances. Do you see anything odd in the Apache error log file (/etc/apache2/logs/error_log) when you try and access the test.php page? Do you have anything in the .htaccess file that could be routing PHP pages differently?
    0
  • SteveKUK
    Thank you @cPRex it was a permissions issue I'd checked the project out of git and not noticed it'd gained group writeable permissions. The nudge to look in the server wide error log signalled the issue.
    0
  • cPRex Jurassic Moderator
    I'm glad that helped to track it down!
    0

Please sign in to leave a comment.