1 Replies - 549 Views - Last Post: 15 July 2013 - 02:53 PM Rate Topic: -----

#1 Golossos  Icon User is offline

  • D.I.C Head

Reputation: 13
  • View blog
  • Posts: 118
  • Joined: 29-June 13

How do I "link" a folder to the default PHP localhost?

Posted 15 July 2013 - 02:08 PM

I am looking for a shortcut (unless I overlooked something) where I can link my own file to the default php local host. I just configured WAMP and am trying to get acquainted with it. Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: How do I "link" a folder to the default PHP localhost?

#2 Atli  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 3719
  • View blog
  • Posts: 5,991
  • Joined: 08-June 10

Re: How do I "link" a folder to the default PHP localhost?

Posted 15 July 2013 - 02:53 PM

You mean something like a Symbolic Link?

You could of course just go into the Apache config and change the document root. Just find the "httpd.conf" file in your Apache install dir and locate the DocumentRoot directive. Then set it to whatever location you want to be the web root. (Then restart the Apache server.)

It gets a bit more complicated when Virtual Hosts are involved, but I doubt that is the case on stock WAMP installations.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1