Apache Alias between sites



Category : Linux
I have a client who wants a WordPress blog, but for security reasons I do not want Wordpress in the same cPanel account with the client's website. The client wants the url to the blog to be mysite/blog. Since I use a LINUX VPS, I figured I could use an Apache Alias to redirect from the client site to the blog,(using post virtualhost include) like this:
Alias /blog home/blogsite/public_html
I have Aliases that work within the same cPanel account where there are multiple domains, but the above doesn't work between two accounts
I don't want to use a redirect, such as in htaccess, because that would defeat the SEO benefits. We want the blog to APPEAR to be within the c

View Replies

Related to : Apache Alias between sites


Configuring Apache for Multiple LOCAL Sites (Alias)
Category : Development
Im an Apache newbie; I just installed Apache 2.0 on a Windowx XP Pro platform. Now I want to set it up so that I can preview my websites in Dreamweaver. Im NOT hosting sites on the Internet; I just preview them on my computer before publishing them to my ISP.
Someone told me I could simply copy

View Replies


how do i set alias in apache 2
Category : Development
hi
i have created a folder in c:project to store my php files,
how can i access it by http://localhost/ rather than something like http://localhost/project/

View Replies

TAGS: alias apache

Apache Alias in PHP?
Category : PHP

I am running multiple sites on one server and am tired of seeing 404s coming from missing apple-touch-icons. I am required to have 6:
apple-touch-icon-57x57-precomposed.png
apple-touch-icon-72x72-precomposed.png
apple-touch-icon-114x114-precomposed.png
apple-touch-icon-144x14


View Replies

TAGS: Apache Alias

alias in apache 2
Category : Development Tools & Services

Hi,
i have created a folder in c:project to store my php files but not in apache/htdocs
how can i access it by http://localhost/ rather than something like http://localhost/project/
thanks

View Replies

TAGS: alias apache

Apache alias?
Category : Development Tools & Services

Ok so I have 2 servers one IIS(192.168.1.101) and one apache (192.168.1.100), and my domain points to the .100 server (lets call the domain test.com for now). I want to make it so that when a user visits test.com/iis/ they are visiting 192.168.1.101 wwwroot folder, IE the root of the IIS

View Replies

TAGS: Apache alias

Apache Alias Help
Category : Webmasters
Hi all
I have a CMS system which contains images and files which are visible on the main website it updates. A recent change in domain name structure means I have to host the CMS on a different IP address to that of the website (but still on the same web server) so my website is now going to ha

View Replies

TAGS: Apache Alias Help

Apache Alias Issue
Category : Ubuntu
All,
I need to be able to run Apache again the folder in my /home directory.
I added the following line to the end of my apache2.conf file:
Code:
Include /etc/apache2/aliases.conf

View Replies


Alias in Apache Webserver
Category : Development
I had this Idea to give every directory the same Alias.
meaning:
if /script/ is the alias then
server/script/script1.php
and
server/dir1/script/script1.php
would result in the same page.
this way I could have 1 counter file that I can use on every page I want witho

View Replies


Apache Alias gives an Error 500
Category : Webmasters
Everytime I make an alias in the root directory .htaccess file, it makes an error 500, for every page on the website.
Quote:
The server encountered an internal error and was unable to compl

View Replies


Create Apache Alias Using PHP
Category : PHP
Can anyone tell me if its possible to write php code to add/edit an apache alias.

View Replies


2012 / 2017 Copyrights BigHow , All Rights Reserved .