[Kinda OT] httpd permissions

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Thu Apr 26 07:12:05 PDT 2012


On 26/04/12 15:52, Marco Leise wrote:
> Am Thu, 26 Apr 2012 05:44:59 +0200
> schrieb "Nathan M. Swan"<nathanmswan at gmail.com>:
>
>>> Have you checked that your web server has write access to
>>> /Users/nathanmswan/Sites/ ?
>>
>> Yes, it works now, thanks!
>> NMS
>>
>> P.S. Sorry this might be in the wrong forum, but now I can
>> advertise my homepage as "index.d" instead of compiling it and
>> having it be "index.cgi"
>
> D is not a virtual machine language. You have to compile your code to execute it. (In case that was unclear.)

... don't see why you shouldn't use rdmd.

> As for the extension, that is probably a configuration option of your web server. Search for CGI extensions or .cgi and add .d there.

Isn't it considered bad practice in modern web design to have _any_ file 
extension visible?  Or at least any file extension that hints at the underlying 
software.

If nothing else, it's bad for future-proofing of URLs.  What happens when you 
switch your site from D to D++ in the year 2025? :-)


More information about the Digitalmars-d-learn mailing list