Jump to content


Photo

changing wwwroot directories


  • Please log in to reply
2 replies to this topic

#1 neginf

neginf

    Member

  • Members
  • PipPip
  • 23 posts

Posted 15 May 2013 - 12:01 PM

Under the original directory that a computer came with, I can get a simple CakePHP program to run.

When I rename that directory to wwwroot_test, make a new wwwroot at the same level, and then copy everything from wwwroot_test to wwwroot, the simple program runs but with warnings.

Have tried this twice.

Don't understand why the program acts different in those directories.

 

Is there something about the installation of an original wwwroot that is different from a copy of it?

 



#2 jazzman1

jazzman1

    Advanced Member

  • Gurus
  • 2,443 posts
  • LocationMississauga, Canada

Posted 15 May 2013 - 12:28 PM

You have to discribe or rename new changes also inside the conf file of the web server making it as a web root!

 

EDIT: Don't forget to restart the web server after new changes ;)


Edited by jazzman1, 15 May 2013 - 12:30 PM.


#3 xenLiam

xenLiam

    Advanced Member

  • Members
  • PipPipPip
  • 43 posts
  • LocationManila
  • Age:16

Posted 24 May 2013 - 02:05 AM

What were the warnings? If you're running Linux/Unix then I guess those would likely be permission problems, but I think that's a far idea.


Lives by faith, thinks by logic.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cheap Linux VPS from $5
SSD Storage, 30 day Guarantee
1 TB of BW, 100% Network Uptime

AlphaBit.com