All Questions
Tagged with directory virtualhost
17
questions
3
votes
1
answer
1k
views
Ubuntu Apache Subdomain not Displaying
Using Ubuntu 18.04
I have my main website www.example.com, all the files are hosted in /var/www/html/ and it works as expected. I would now like to make a new website in a subdomain www.blog.example....
1
vote
1
answer
3k
views
Apache: No matching DirectoryIndex
I'm newbie in apache, i have the following directory structure:
html
|-- moodle
|-- singapur
|-- app
|-- public
|-- js
|-- css
|-- img
|...
0
votes
1
answer
25
views
In Apache/local, how can I support both directory access and named-host access?
I understand how to use Directory and (I think) VirtualHost directives. I further understand that I can't mix them (although I can nest them). When I mix them I get 404 not found for the Directory-...
-1
votes
4
answers
18k
views
How to set up apache virtualhosts serving different directories?
On my Ubuntu 16.04 system, I want to set up several websites that are served from several directories, that is, same domain, same port, same IP address. However, I don't know how to specify them. All ...
2
votes
0
answers
2k
views
Automatically mapping subdomains to directories with Apache 2.4?
I manage a lot of projects on my personal development server. I just upgraded Apache and accidentally reset the configuration files in the process, so I thought this was a good opportunity to optimize ...
0
votes
1
answer
2k
views
Apache Aliased Directory doesn't work for child directories of alias
I'm trying to run two different applications under user.
Application 1: /home/user/public_html/app/public/
Application 2: /home/user/public_html/forum/
VirtualHost has the Server set to the ...
0
votes
1
answer
659
views
DirectoryIndex in Subfolder/New project with virtualhosts and SSL, same domain
I have som problems with setting up a new project in apache. I have an old project in sub.domain.com/api/something.php, but am trying to add a new project (symfony) that requires a DirectoryIndex, sub....
1
vote
1
answer
1k
views
Apache Server - Subdirectory on different server [closed]
You have 2 different servers with different IP Addresses. Both servers are Apache based.
Server A: already hosts a website (http://example.com)
Server B: would host a WordPress website to be in a ...
2
votes
1
answer
16k
views
Can I have two (or more) Apache VirtualHosts separated by subdirectories?
I think this is a simple question, but let me explain better. I have the following development environment:
Ubuntu Server 12.04 LTS;
Apache 2.4;
PHP 5.5;
Everything is working fine, except the ...
0
votes
2
answers
106
views
Apache virtual hosts, aliasing, and directories
If you have an Apache running at somewhere.net, and you have a number of virtual hosts as well (a.somewhere.net, b.somewhere.net), you can access directories on the main branch while you are on the ...
-1
votes
1
answer
169
views
Directory theme of apache
I have a server with a web site. My document root is /var/www.
My configuration:
<VirtualHost *:80>
Servername www.eeeeeb.fr
ServerAdmin [email protected]
DocumentRoot /...
1
vote
1
answer
54
views
How to setup usernames for websites
I have a news server. It may be possible that there will be multiple virtual hosts on it.
There are two approaches that I see around.
One is to login as root and create files under /www/etc, Like;
/...
2
votes
1
answer
137
views
Apache issue with VirtualHosts
I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
0
votes
1
answer
682
views
VirtualHost for subfolder only in Apache
I have an Apache2 server. Most of my sites use PHP. One uses Ruby on Rails. So I want passenger in one subfolder.
How can I tell Apache to make a virtual host in just one subfolder for passenger? I'...
9
votes
1
answer
7k
views
Directory inside or outside VirtualHosts?
Is there a difference between putting Directory tags inside or outside VirtualHosts? I found a configuration file that has several VirtualHosts all with the same Directory tag inside, and the same ...
0
votes
2
answers
6k
views
How to add another application to apache?
I was following the Zabbix installation tutorial for Ubuntu and it requested that I added a file /etc/apache2/sites-enabled/000-default containing
Alias /zabbix /home/zabbix/public_html/
<...
0
votes
1
answer
108
views
Apache vhosts configuration for non-persistent folders
OK, the title may be a bit confuse.
I have a TrueCrypt container that gets mounted as a new drive X: on my Windows machine. Now I want my local testing Apache to deliver files from there via http://x....