Link to home
Start Free TrialLog in
Avatar of doctorbill
doctorbillFlag for United Kingdom of Great Britain and Northern Ireland

asked on

xampp and apache

Xampp docs folder:
c:\xampp\htdocs

Website:
c:\xampp\htdocs\TickTock_int

The server runs on http:\\localhost:888

Can someone please tell me exactly how to set up a virtual directory called "business" which will point to the
index.php page in c:\xampp\htdocs\TickTock_int such that when I type http://localhost:888/business I will go to the site
SOLUTION
Avatar of Kent Dyer
Kent Dyer
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
For better or worse, computer work requires considerable precision.  You might want to check that "888" part -- it might be 8888?
Avatar of doctorbill

ASKER

My apache server  is working on http://localhost:888

I was under the impression that I needed to edit the following file:

C:\xampp\apache\conf\extra\httpd-vhosts.conf file
Sorry-  wrong file:

It is the c:\xampp\apache\conf\httpd.conf file that needs to be edited
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I wanted to be able to see how to use virtual directories
Problem solved using the entries below:

In the alias section of the httpd.conf file:
Alias /business "C:/xampp/htdocs/TickTock_int"


Create a directory entry:
<Directory "C:/xampp/htdocs/TickTock_int">
  Options Indexes FollowSymLinks MultiViews ExecCGI
  AllowOverride All
  Order allow,deny
  Allow from all
</Directory>

This works when I use http://localhost:888/business
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Solution