Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Dimitris Arkolakis
Dimitris Arkolakis
6,944 Points

How not to run Shirts4Mike from localhost root, but from a subfolder inside htdocs

Hello,

project Shirts4Mike only runs from htdocs/ in xammp

Is there any way to configure so that it can run from htdocs/shirts4mike (in browser localhost/shirts4mike) for example?

1 Answer

This site allows you to run your code in a cloud. But still requiring you to use a terminal in a cloud. I am not aware of any other software or web app that allows you to do so. I could be wrong but I don't think you can do so with out a local server.

I think I miss understood your question. It shows up that way because of the way you structured your files. It really does not matter much pre-production. Is there an issue you are having by doing it this way?

If you want to run it in the browser here is a post on stackoverflow were someone else has the same question as you do.