Re: serving css/js out of subdirectories w/ http_reply_from_files

Anne Ogborn <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>

Maybe this is superfluous, but when I was using this for the first
time I did not immediately get that in statement [1] the former
occurrence of `css` refers to the HTTP location (registered with
http:location/3), whereas the latter occurrence of `css` refers to the
file system path with alias `css` (registered with
user:file_search_path/2).


Yes, I had a heck of a time figuring that out myself. Since I've now had a half dozen people ask about this, I'm going to redo the tutorial to cover this in great and glorious detail in it's own section.
-------------- next part --------------
HTML attachment scrubbed and removed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.