Avatar of doctorbill
doctorbill
Flag 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
PHPApache Web Server

Avatar of undefined
Last Comment
doctorbill

8/22/2022 - Mon
SOLUTION
Kent Dyer

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Ray Paseur

For better or worse, computer work requires considerable precision.  You might want to check that "888" part -- it might be 8888?
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
doctorbill

ASKER
Sorry-  wrong file:

It is the c:\xampp\apache\conf\httpd.conf file that needs to be edited
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
Dave Baldwin

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
doctorbill

ASKER
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
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
doctorbill

ASKER
Solution