I have a test website ( Rails deployment)
deployed in the folder: /rails/my_app
with the following vhost.conf :
ServerName mydomain.com
DocumentRoot /var/www/vhosts/mydomain.com/rails/my_app/current/public
<Directory "/var/www/vhosts/mydomain.com/rails/my_app/current/public">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Deny from all
Allow from all
</Directory>
RailsBaseURI / ( Rails deployment)
for testing purpose ( I want to create subdomains via the API) I created a subdomain : yves.mydomain.com
with the same folder /rails/my_app
trying to access the subdomain, I get a forbidden error ...
what could be wrong ?
thanks for your feedback
deployed in the folder: /rails/my_app
with the following vhost.conf :
ServerName mydomain.com
DocumentRoot /var/www/vhosts/mydomain.com/rails/my_app/current/public
<Directory "/var/www/vhosts/mydomain.com/rails/my_app/current/public">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order deny,allow
Deny from all
Allow from all
</Directory>
RailsBaseURI / ( Rails deployment)
for testing purpose ( I want to create subdomains via the API) I created a subdomain : yves.mydomain.com
with the same folder /rails/my_app
trying to access the subdomain, I get a forbidden error ...
what could be wrong ?
thanks for your feedback