Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 error when installed on subdomain #119

Open
gisforgabriel opened this issue Dec 11, 2016 · 3 comments
Open

503 error when installed on subdomain #119

gisforgabriel opened this issue Dec 11, 2016 · 3 comments

Comments

@gisforgabriel
Copy link

I am getting a 503 error when trying to use minigalnano.example.com rather than example.com/minigalnano to host an instance of MinigalNano. I have other PHP applications running on other subdomains on the same server with the same root domain, which are set up identically. The very same instance, with the very same files, runs fine as a directory.

I feel like I'm missing something obvious, but can't see what it is. Can anyone help?

@nodiscc
Copy link
Contributor

nodiscc commented Dec 13, 2016

What server/version? What does your web server's error log say?

@gisforgabriel
Copy link
Author

The server is running Ubuntu 14.04, Apache2. I set up an error log for the virtualhost, but it is empty so I assume there is no issue there.

<Virtualhost *:80>
  ServerName minigalnano.example.com
  ServerAlias minigalnano.example.com
  DocumentRoot /var/www/minigalnano
 ErrorLog logs/minigalnano-error_log

   <Directory "/var/www/minigal">
        RewriteEngine On
        Options +FollowSymLinks +Indexes
        AllowOverride All
    </Directory>

</Virtualhost>

However I've also set the general Apache log level to debug and it's not showing anything, so I assume something isn't right in Apache - I just don't know where to look.

@nodiscc
Copy link
Contributor

nodiscc commented Dec 14, 2016

@gisforgabriel you may have to tweak your PHP error reporting settings:

https://stackoverflow.com/questions/1053424/how-do-i-get-php-errors-to-display

Are you able to display errors this way?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants