Quote:
Originally Posted by kovidgoyal
It's the exact same server code in both and yes you should turn off the GUI server if you are running the command line server. And I mean that you dont need to use proxypass you can just use a rewrite rule (well two actually to integrate with the calibre server)
|
There's no problem running the Calibre GUI and editing the database while the commandline server is running right? Just double checking...
Quote:
Originally Posted by kovidgoyal
The traceback is to help me debug problems. I know the conventional wisdom is to never show a user a traceback, but IMO that conventional wisdom makes about as much sense as the conventional wisdom about the earth being flat.
|
Being a lower-level programmer myself I understand. It's just unexpected because of the "conventional wisdom", and to the untrained eye it looks more like a server side error than a standard 404. I guess I'm just a fan of making things pretty and the least confusing as possible to visitors.
Quote:
Originally Posted by kovidgoyal
Incidentally, why do you have URL normalization that adds a trailing slash? I can understand normalization that removes trailing slashes, but why add them?
|
When I make websites I almost always use pages such as index.html or index.php which, obviously, most webservers autoload when a directory is requested that contains one of those files. I find the look of
www.mydomain.com/store/, for example, to be much cleaner than
www.mydomain.com/store.php or
www.mydomain.com/store/index.php. And
www.mydomain.com/store really isn't a valid resource (there's no non-extension'd file called "store" in the root directory). It's also a much more ergonomic solution for end users. All they have to do is go to
mydomain.com/somepage and the server will automatically canonicalize it to
www.mydomain.com/somepage/, obviously with SEO in mind.
Could I use the full file URL (
www.mydomain.com/store/index.php) as the SEO-canon URL instead? Yes, but you can only have it one way (assuming you want canonical URLs), and that's the way I chose. Seems like it tends to be the more popular option as well.
To be perfectly honest I don't understand exactly what is being requested when I go to calibre.mydomain.com/browse. Is it a directory with an autoloaded index page? I figure it must be because if it were an actual script file I don't know how the webserver would know how to parse it. I'm mostly self-taught in all of this, so I'm sure some of my knowledge could stand to be corrected.