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

cannot deploy to subdomain #6

Closed
zzjin opened this issue Mar 19, 2013 · 2 comments
Closed

cannot deploy to subdomain #6

zzjin opened this issue Mar 19, 2013 · 2 comments

Comments

@zzjin
Copy link

zzjin commented Mar 19, 2013

when using xx.com/phpredsmin/oublic/index.php everything work ok
but gitve it a subdomain like phpredismin.xx.com return 500 error with no error log
apache documentroot set to /path/to/phpredismin/public

@sasanrose
Copy link
Owner

Using the following apache configuration

<VirtualHost *:80>
    ServerName test.phpredmin.com
    ServerAlias test.phpredmin.com
    ServerAdmin sasan@local
    DocumentRoot /var/www/phpredmin/public
    <Directory /var/www/phpredmin/public>
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
        Order allow,deny
        allow from all
    </Directory>

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

    ErrorLog /var/log/apache2/error.log

    LogLevel warn

    CustomLog /var/log/apache2/access.log combined
    ServerSignature On
</VirtualHost>

I don't face any problem. Can you give me more details? for example your apache configuration + Did you check the logs located at log directory?

P.S: Sorry for delay

@zzjin
Copy link
Author

zzjin commented Mar 30, 2013

by added:
<Directory /var/www/phpredmin/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all

it works~ thx~

@zzjin zzjin closed this as completed Mar 30, 2013
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