Where is public html




















I am not sure where web server's document root or public HTML directory are located in my Centos machine. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Location of document root of public html in Centos Ask Question.

Asked 7 years, 4 months ago. Active 7 years, 4 months ago. This is because: Many computers, particularly web servers, are case-sensitive.

Browsers, web servers, and programming languages do not handle spaces consistently. For example, if you use spaces in your filename, some systems may treat the filename as two filenames.

It's better to separate words with hyphens, rather than underscores: my-file. Let's create these now: index. Using your text editor, create a new file called index. Create a folder called images , inside your test-site folder. Create a folder called styles , inside your test-site folder.

Create a folder called scripts , inside your test-site folder. Open up your index. Don't worry about what it all means for now — we'll look at the structures in more detail later in the series.

This mechanism provides a number of benefits:. However there is an escape hatch that you can use to add an asset outside of the module system. If you put a file into the public folder, it will not be processed by webpack. Instead it will be copied into the build folder untouched. Sorry for the generic question, but I need help.

I know it's in the html directory, but where is that? Okay, so since I have no idea where the directory is, can I please get some help? Thank you XML-Sitemaps Support Click here.



0コメント

  • 1000 / 1000