Content
Redirect problems in my new open project installation
Added by stefano cerelli about 10 years ago
Hi everybody,
i succesful installed open project on my machine but now i having problems with newly created virtual hosts.
In short:
this is my open project installation -> projects.fullcode.it
this is a new virtual host just created -> superyeah.voodev.info
this is a virtual host created before open project was installed in the machine -> bellaitalia.fcdevelop.it
as you can see the last one work perfectly but it was instantiated before open projects was installed.
At the moment every virtual host i create redirect to OP public directory.
note:
1. different domains same server
2. php and ruby are both installed on the machine
3. debian is the so
4. apache 2 is used by php and ruby
this is superyeah virtual host:
<VirtualHost *:80>
ServerAdmin webmaster[at]localhost
ServerName superyeah.voodev.info
ServerAlias www.superyeah.voodev.info
DocumentRoot /var/www/vhosts/superyeah
Options FollowSymLinks
AllowOverride None
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory “/usr/lib/cgi-bin”>
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
any help ? Thanks a lot.
Replies (3)
no one knows?
Hi Stefano,
I have to admit I’m a little bit confused. What you are trying to accomplish exactly? Which domain is for which service and each one has to have its own virtual host. So can you give more details please.
Side note: Please be aware that the problem you have seems to be related to your virtual host configuration. It is always difficult to give advice to a system / setup we do not know. Best way here is to try different virtual host combinations to find the problem. So comment out each vhost one by one and you should get closer to your problem. Please also have a look at the apache vhost configuration docs.
Hi thanks for your reply.
the thing is pretty simple.
Before OP installation all things were working fine (virtual hosts etc etc)
After installation of OP newly virtual hosts redirect to OP instead of their root folder.
May be that ruby and php are on the same server???