Jump to content

sonjoyray

Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by sonjoyray

  1. 1 hour ago, melahi said:

    It's the http root which is not the same as your file system root. This is because you don't want to put your entire file system online. It is configurable on your file server. And the first part of the URL is handled by a DNS lookup, so that vistor to your site are directed to your computer at whatever IP address it has been registered.

    So say you are using Apache  on a server running Linux then there will be a file called /etc/httpd/conf/httpd.conf

    In that (text) file will be a line saying something like:

    
     DocumentRoot "/srv/http"

    The actual file that visitors access thus will be /srv/http/images/picture.jpg but your web pages can reference them as  /images/picture.jpg 

     

    Thank you very much. I try to find a solution to this in many places. But I did not get the right decision. In the end I think it must be related to the server that got the solution in your answer.

    Font

    Which method is better to use font on the website? Which can be used for both desktop and mobile.
    I think it's better to use @font-face. Because the fonts are downloaded on my own website and will come in handy on devices that don't support fonts.

    I also want feedback from you

    image.png.fe5926144fdd6d000cc32409633165fa.png

×
×
  • Create New...