This is a question pretty specific to Media Temple DV servers, but I'm hoping someone out there can help. Our deployment process on a DV server involves ssh'ing in and doing a Subversion checkout into a folder called "svn" and then creating a symlink in "httpdocs" to point to a release folder in that "svn" folder. I'm wondering if it's p...
Hi there Guys.
I'm currently working on a new website and want to run Elgg (Elgg.org) on it. It's fully running on PHP5 and has a lot of rewrite rules defined in the .htaccess files. On the Elgg community I didn't found / get any answers, so I will try and ask them here.
I'm running multiple sites on my windows machine, now I want one ...
Hey,
I am running Apache2 with multiple vhosts in the sites-enabled folder, each looks a bit like this:
<VirtualHost *:80>
ServerName site1.com
ServerAlias www.site1.com
DocumentRoot /home/sites/site1/www/
<Directory /home/sites/site/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
...
I have a VPS. I hosted a domain ipointing to a sub directory of the www folder. The domain works fine till the home page. The moment I start going to other pages its shows my servers [orginalname]/[subdirectory name] . I think I need to add a server alias to the domain's VHOST. Can anyone tell me how to do that??
...
I'm trying to rewrite abc.example.com/path to abc.example.com/index.php/abc/path using the following .htaccess:
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^(abc)\.example\.com
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/abc/$1 [L]
The situation is:
domain www.e...
Hi guys,
I am trying to deploy my rails application to virtual host's root with passenger but I had some problems. Error log:
[Sun Aug 23 10:09:06 2009] [error] [client 91.187.5.190] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. ...
Hey experts,
i run a rails app on passenger and it all works like it should.
Now i want to add an sinatra app to run as rack application with passenger, but i always get a routing error.
My VirtualHosts File looks like:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain1.com
DocumentRoot /home/user1/vhosts/project1/pub...
Is there any way to rewrite a GET / to a cgi script with a parameter? Basically redirect / to /cgi-bin/scipt.cgi?123.
This does not work:
RewriteEngine On
RewriteRule ^/$ /cgi-bin/script.cgi?123 [L]
Instead it somehow rewrites / to /index.html/
Any way of doing this?
...
I have approx 50 sites that all use the exact same files other than CSS and IMAGES, i currently duplicate the files each time i create a new site and upload different css and images.
What I want do so set up each vhost to have the same DocumentRoot then add AliasMatch for the css and images folders e.g:
#Common Files VHOST
<VirtualHos...
I have been running into walls with this for a while.
I am attempting to setup multiple IP addresses on Snow Leopard so that I can develop with SSL certificates. I am running XAMPP - I don't know if that is the problem, but I guess I would run into the same problems, considering the built in apache is turned off.
So first up I looked i...
My clients want to use 301 redirects to force the 'www' subdomain on their sites. So 'example.com/something' resolves to 'www.example.com/somthing' etc.
What I'm trying to do is simply add this to my vhost file:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName example.com
ServerAlias www.*
DocumentRoot /data/...
My url is : https://virtual.app.c7beta.com/rpc/json?c=Sticky&m=get_user_notes
And I got the following error:
Object not found!
The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
Error 404
My c...
Hi,
I am building a web application with Zend Framework, and I need to point my app to the "public" folder of the application:
So basically when I call http://localhost/myapp
it should display http://localhost/myapp/public/
I created a virtual host file called myapp into /etc/apache2/sites-available/:
<VirtualHost *:80>
DocumentR...
Hello, I've got a domain example.com and an "alternative" of some-example.com. I'm trying to direct traffic from some-example.com to example.com using a simple server declaration in nginx as follows:
server {
listen 80;
server_name some-example.com;
rewrite ^/(.*) http://example.com/$1 permanent;
}
I'm not 100% sure if thi...
I have this webserver that have an IP address xxx.xxx.xx.x, I also have a website I want to publish, but I do not have any domain for my website yet.
So in my httpd-vhosts.conf file I have this setting:
<VirtualHost xxx.xxx.xx.x>
ServerName xxx.xxx.xx.x
DocumentRoot "C:\Sites\mysite"
</VirtualHost>
And since I dont have a domain ...
Hello,
I'm setting up multiple Virtualhosts directives in a vhost file (httpd.include on this server).
The purpose is to point example.com to realexample.com/folder/fileshere/ but still have it say example.com.. well It does that fine, but php doesn't work on the virtualhost.
It asks me to download the php file, which is obviously no...
I was wondering if it's possible to use the vhost_alias module in conjunction with a rewrite rule. So in my VirtualHost I have this:
VirtualDocumentRoot /var/www/%2+/%1
For example, sub.mydomain.com will point to /var/www/mydomain.com/sub/
But I want to check if the folder exists to avoid getting a 404 error if I try to reach a bogus ...
I want to create a web application that allows users to sign up, register a domain name and create their own website. This will be done in Ubuntu 9.10, Apache 2, Mysql 5 and Php 5.
At the moment, the only area of development I'm uncertain about is the domain name registration and mapping it to the web application.
I'm going to postpon...
Hi,
I don't know if it's appropriate to ask for this but I really need to know what's the initial content of /var/www/vhosts/mydomain.com/conf/httpd.include on Godaaddy's VDS because the conf directory was accidentally deleted by somebody and now I cannot start Apache.
We didn't purchase an assited service plan so Godaddy won't help m...
Hello,
Below you will find my current vHost entry that I am using for a site that I currently have under development. This vHost entry works fine when I have it on my local machine, but when I push my code to my staging server that is running this same vHost record I receive a 500 Internal Server error.
The machine I'm running this vHo...