Re: How can I suppress the web server creating default index.html?

2017-04-14 Thread Keisuke Miyako via 4D_Tech
 just goto preferences > web > settings (path) and remove "index.html"

> 2017/04/14 23:37、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Can I suppress 4D's urge to create that page if it's missing?




**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How can I suppress the web server creating default index.html?

2017-04-14 Thread Justin Will via 4D_Tech
Kirk,

Turn off 4D's web server in the settings of MSC and start the webserver 
programmatically and the folder will not be created.

Like this...

WEB SET OPTION(Web Port ID;80)
WEB SET OPTION(Web HTTPS port ID;443)
WEB SET ROOT FOLDER("MyWebFolderPathHere";Is text))
WEB START SERVER

Justin

**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How can I suppress the web server creating default index.html?

2017-04-14 Thread Kirk Brooks via 4D_Tech
Joshua,

On Fri, Apr 14, 2017 at 8:02 AM, Joshua Hunter via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> a) Use WEB SET ROOT FOLDER to change the web root on startup to an empty
> directory
>

​Just thinking out loud - I have heard other's talk about this approach and
I like the idea but wouldn't it still leave me with the problem of 4D
creating the identified page in the otherwise empty directory?​

​Maybe someone actually doing this could comment.​

-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: How can I suppress the web server creating default index.html?

2017-04-14 Thread Kirk Brooks via 4D_Tech
Hi Joshua,


On Fri, Apr 14, 2017 at 8:02 AM, Joshua Hunter via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I haven't tried but could you either:
>
> a) Use WEB SET ROOT FOLDER to change the web root on startup to an empty
> directory

​I might try this - it's not the way I designed it though...​

> -or-
> b) delete the file after it is created on startup
>
​That's what I'm thinking is the easy solution.
​
-- 
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: How can I suppress the web server creating default index.html?

2017-04-14 Thread Joshua Hunter via 4D_Tech
I haven't tried but could you either:

a) Use WEB SET ROOT FOLDER to change the web root on startup to an empty 
directory
-or-
b) delete the file after it is created on startup

Joshua Hunter
jos...@dwdev.com
(425)673-1974
www.dwdev.com
Dataworks Development, Inc.
Providing secure and configurable data management solutions for research and 
clinical labs since 1987.


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Kirk Brooks 
via 4D_Tech
Sent: Friday, April 14, 2017 7:37 AM
To: 4D iNug Technical
Cc: Kirk Brooks
Subject: How can I suppress the web server creating default index.html?

I have my webserver (v15.4) set up to respond to the index page and prompt for 
login. It seems 4D will crate this page each time it starts up if it's not 
there. I don't want it there because I want to catch the it manually.

Can I suppress 4D's urge to create that page if it's missing?

--
Kirk Brooks
San Francisco, CA
===

*The only thing necessary for the triumph of evil is for good men to do
nothing.*

*- Edmund Burke*
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**