mailman3.common-lisp.net
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview
thread

Re:

Raymond Wiker

8 Apr 2015 8 Apr '15
8:58 p.m.

I'd say that your two obvious options are to use references that Hunchentoot has been configured to resolve, or to configure Hunchentoot to handle the urls that you want to use. In case that wasn't clear enough: the mechanisms that you use to tell Hunchentoot where to find "/test" will not automatically figure out what you mean by "/~/mystyle.css". On 09 Mar 2014, at 21:10 , Faruk S. Can <farukscan@gmail.com> wrote:

...

maybe comic enough but i cannot serve an html file that is linked to css file.

test.html

<html> <head> <link rel="stylesheet" type="text/css" href="~/mystyle.css"> </head>

<body> asdf </body>

</html>

mystyle.css

body { background-color:tan; }

this html is rendered when i double click it. but i cannot serve it with style aded. alt console says: 127.0.0.1 - [2014-03-09 22:09:46] "GET /test HTTP/1.1" 200 114 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9" 127.0.0.1 - [2014-03-09 22:09:46] "GET /~/mystyle.css HTTP/1.1" 404 360 "http://localhost:5050/test" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.74.9 (KHTML, like Gecko) Version/7.0.2 Safari/537.74.9"

What should i do?

Attachments:

  • attachment.html (text/html — 2.7 KB)
0 0
Reply
Sign in to reply online Use email software

Back to the thread

Back to the list

HyperKitty Powered by HyperKitty version 1.3.12.