0
votes
3answers
76 views

Apache 2.4 - 403 HTTP status code

I'm getting a 403 error message with Apache, in Debian Testing. Apache version: # aptitude show apache2 | grep -i version Version: 2.4.9-1 # ls -la /home/ total 28 drwxr-xr-x 4 root root ...
0
votes
1answer
36 views

Using Apache to make a virtual host with the same domain name?

I'm sure there's a name for this and I'm probably just searching wrong. Anyways, is it possible to set up virtual hosts on the same domain name by using information after the '/' For example host1 ...
1
vote
0answers
96 views

Can't get PHP to work on Apache VirtualHosting environment

Trying to setup an Apache VirtualHosting environment with PHP in a freshly created CentOS node under DigitalOcean cloud server. The trouble is, although Virtual hosting is working per se, PHP isn't. ...
-1
votes
1answer
52 views

Apache: Serve one directory in two virtualhosts

I try share a WordPress plugin directory between two sites. The problem is that the scripts are working but not the URLS. They are output in a strage way that the path is in there when it should not. ...
0
votes
3answers
593 views

PHP doesn't work on Apache virtual host

I have a virtual private server with Parallels Power Panel on CentOS 6. The default Apache virtual host (accessed using the IP) works wihtout any problem. Now I created a new domain with Plesk and ...
0
votes
1answer
118 views

Local Server - Apache redirecting all requests to /index.php [closed]

I'm having a weird redirect problem on my local server. I have a VirtualHost set up: NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "/Users/iMac/Sites/index.php" ServerName ...
0
votes
1answer
265 views

Setting up virtual host with symlink in Ubuntu 12.04

I am newbie in virtual host. I have followed this tutorial to create a virtual host to run php projects. Also, I've used symlink method described here. Steps in first tutorial like installing apache, ...
0
votes
1answer
1k views

Allow access to PhpMyadmin only on a specified virtualhost

I'm working on a multiple virtualhost Environment. I've installed PhpMyadmin for Mysql Remote Control. Environment is configurate as below: one.domain.com two.domain.com onlyphpmyadmin.domain.com ...
1
vote
2answers
68 views

Configure virtual host, for apache on different port than default

How do I configure virutal host so that I donot have to add port to the url ? Now that I am running apache on different port (88) I Want to use http://my.local.com  instead of http://my.local.com:88
0
votes
1answer
149 views

how limit php script to access parent host directory

I've a debian linux server with apache2.2 & php5 installed. I've created many virtual hosts on my apache server, each virtual host has a separate root directory & php is enabled for all of ...
1
vote
0answers
71 views

Removed and then reinstalled php-common via yum. Now no virtual hosts?

Using yum I wanted to install the php-gdlibrary, however there was a dependency issue with php-common preventing me from installing php-gd. So after some digging I found this article on SO. I followed ...
1
vote
1answer
155 views

Apache2 is not parsing PHP files

i have a problem with my server (VPS with debian+apache2+php5). I have two virtualhosts, one is linked to a ruby webserver and has a PRoxyPass from port 80 to 8080 and the second one is a normal ...
0
votes
1answer
436 views

Symfony2 Vhost Configuration

I'm new to Symfony2 and following the EnsJobeet tutorial. My VirtualHost config is as follows: <VirtualHost *:80> ServerName jobeet.local DocumentRoot /var/www/ensjobeet/web/ ...
0
votes
1answer
1k views

PHP memory_limit local value does not match php.ini value

CentOS system. Summary: changed memory_limit in master and local php.ini and yet no change in the local value for a particular virtual host. Trying to improve performance, I set the memory_limit to ...
0
votes
1answer
45 views

Serve PHP page mapped as part of Django's (Python's) virtualhost

I have a question similar to this: Apache : Map one virtualhost to a subdirectory of another virtualhost Except mine is about serving PHP within Django's domain like that: example.com serves ...
1
vote
1answer
254 views

Virtual Hosts w/ IIS 7.5.x Not Paying Attention to Path

I have setup numerous linux web servers (using Apache) but I am new to IIS. I am trying to setup two new vhosts, let's call them vhost1.domain.com and vhost2.domain.com for the purposes of this ...
1
vote
2answers
224 views

PHP add virtual host dynamically

I'm developing a PHP web application that, among other things, needs to allow the user to add, edit and delete Apache virtual host entries. (I'm Including a web-writable config file in my ...
1
vote
2answers
300 views

How to configure nginx to serve single named virtualhost, aside of apache

I currently have a single apache server with several named virtualhosts defined there, all serving on the same IP, on port 80. However, I have one static virtualhost (a specific domain) I want to ...
0
votes
1answer
67 views

Apache/Lion not serving up site in local testing environment

Originally posted this over at superuser... Ive configured Apache for Name-based Virtual Hosting but I can't seem to get a local site to show in my browser. Is my httpd.conf misconfigured? Here's the ...
0
votes
1answer
629 views

apache virtualhost force email FROM address [duplicate]

Possible Duplicate: Configuring php mail() per domain I've many VirtualHosts on my Apache webserver with some different CMS (different services, different domain names, different ...
0
votes
2answers
2k views

Apache, virtual hosts, and default sender for sendmail

So here's my issue...I have two sites hosted on one machine using apache's virtual hosts. I want to send emails from the two different sites (domain.com and domain2.com) using the appropriate email ...
2
votes
1answer
2k views

Access Denied for PHP Files Only

Apache HTTP Server 2.2.21 with VirtualHosts under SuExec PHP 5.3.8 via fcgid Arch Linux 2011.08.19 I am getting 403 Access Denied errors from Apache any time I try to access a PHP file. HTML files ...
1
vote
2answers
2k views

Can I restrict a vhost to only a local IP?

I have a subdomain I'd like to only be accessible by a local IP address. Is it possible to specify this in the vhost? I'm thinking it's not since I haven't found much on Google. If not, what's the ...
1
vote
1answer
62 views

Non-shared, per user, Wordpress (PHP) installation

What's the recommended method of doing Apache based PHP virtual hosting installations where each site would have one and just one user allocated for it? Read and execute for one user per site only ...
1
vote
3answers
226 views

How To Make Move Project From Local Machine To Exrernal Linux Server

I'm a bit of a Linux noob. I've been developing a PHP/MySQL project on my localhost. My system is running Windows 7 and I used xammp to install PHP5 and MySQL. I've also been saving updates to a svn ...
2
votes
1answer
109 views

PHP error reporting for all */dev directories

I have an Apache server with multiple webprojects. Every project has a development, and a production site associated like this: /srv/www/project1/dev /srv/www/project1/prod /srv/www/project2/dev ...
2
votes
1answer
447 views

Using different versions of PHP with virtual domains/hosts

I'm hosting several websites in a single directory, using Apache virtualHosts. Some of them need PHP 5.2 and others are fine with PHP 5.3. How can I specify which directories use each version and how ...
0
votes
1answer
403 views

Only my default Virtual Host will execute PHP scripts--500 error otherwise

This should be a simple thing to find, but I've spent over an hour on it--time to ask for some assistance. I have a very basic CentOS 5.5 box running two virtual machines. The first machine has been ...
1
vote
1answer
2k views

how to create virtual hosts on ubuntu?

I want to create virtual hosts on ubuntu. I am using ubuntu and apache server. For example I have two files like this: /var/www/project1/index.php /var/www/project2/index.php I want that when I ...
0
votes
1answer
566 views

Xampp virtual hosts file messes up when an httpd redirect is put in place

Below is my httpd-vhosts.conf file for reference on my Windows 7 machine running xampp 1.7.4: <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot C:/xampp/htdocs ...
1
vote
2answers
346 views

Set different PHP UID for Apache VirtualHost

I have many VirtualHosts for different users. How can I set UID for PHP process per VirtualHosts?
0
votes
2answers
158 views

Accessing a Virtual host in Virtual Machine

I installed Ubuntu Server 10.10 on VmWare. I installed apache and php and then created a virtual directory, following these steps: ...
0
votes
1answer
284 views

Apache config that uses two document roots based on whether the requested resource exists in the first

Background I have a client site that consists of a CakePHP installation and a Magento installation: /web/example.com/ /web/example.com/app/ <== CakePHP /web/example.com/app/webroot/ <== ...
2
votes
1answer
2k views

Mixed IP and Name Based Virtual Hosts with nginx

I set up many domains but I dont know how to configure if only ip address is given. say foo.com I have a setup to go web/foo.com/htdocs, I want to 88.99.66.55 ip address like a domain to ...
0
votes
1answer
698 views

Enabling the PHP readfile function in Virtual Host or .htaccess

Is is possible to enable the php readfile function within .htaccess or within the virtual host, the functionality has been disabled by the sys admin who does not want to enable it. I need to enable it ...
1
vote
1answer
1k views

Having many subdomains with SSL--best practices?

I have a site that has many subdomains (one for each client). The content for each subdomain will be different, pulling different data, different layouts etc, so I don't think I can just alias one ...
0
votes
1answer
860 views

How can I run JBoss Application Server and Apache on the same server?

If multiple sites are hosted within a single server, how can someone able to use Apache for PHP and JBoss for Seam. Example: example.com -> servered using PHP example2.com -> ...
1
vote
4answers
1k views

How do I run both Tomcat and PHP on Linux on port 80?

I would like to host both Tomcat and PHP on port 80 on Linux and I have 2 IP addresses available. I am only using PHP so that I can host some mailing list software, I can map it to ...
0
votes
3answers
137 views

Create subdomain upon user registration

I have a website where I want users that sign up to get their own subdomain. This subdomain is virtual, and every subdomain uses the same web server files. I use PHP and Apache, and I know about ...