[ 
https://issues.apache.org/jira/browse/JENA-499?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13728814#comment-13728814
 ] 

Andy Seaborne edited comment on JENA-499 at 8/4/13 9:44 AM:
------------------------------------------------------------

The {{--host}} argument is misnamed (it does not listen to one host - it 
listens to the interface for that IP address).  It's commented out of the 
Fuseki code as being confusing.

Do you have a use case for it?  It could be restored with a better name.

Generally, Fuseki standalone server does not try to to provide security 
features (in the broad sense), but rather replies on the deployment 
environment.  e.g. (AWS) run on a server with only port 80 available, run 
Apache httpd on that port and proxy to Fuseki.  There are many features needed 
so getting them delivered by a system specializing in that seems better.

The one case that does make sense is only talking to the localhost.  e.g. an 
argument {{--localhost}} (and no argument).
                
      was (Author: andy.seaborne):
    The {{--host}} argument is misnamed (it does not listen to one host - it 
listens to the interface for that IP address).  It's commented out of the 
Fuseki code 

Do you have a use case for it?  It could be restored with a better name.

Generally, Fuseki does not try to to provide security features (in the broad 
sense), but rather replies on the deployment environment.  e.g. run on a server 
with only port 80 available, run Apache httpd on that port and proxy to Fuseki. 
 There are many features needed so getting them delivered by a system 
specializing in that seems better.

The one case that does make sense is only talking to the localhost.  e.g. an 
argument {{--localhost}} (and no argument).
                  
> fuseki-server command does not accept --host argument
> -----------------------------------------------------
>
>                 Key: JENA-499
>                 URL: https://issues.apache.org/jira/browse/JENA-499
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Fuseki
>    Affects Versions: Fuseki 0.2.7
>         Environment: Mac OS 10.7.5
> java version "1.6.0_35"
> Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11G63)
> Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
>            Reporter: Nicholas Humfrey
>
> The Fuseki command line help describes at the {{--host}} argument is 
> supported:
> {noformat}
> fuseki-server --help
> fuseki [--config=FILE] [--mem|--desc=AssemblerFile|--file=FILE] [--port PORT] 
> [--host HOST] /DatasetPathName
> {noformat}
> But when trying to use it I get an error:
> {noformat}
> ~ $ fuseki-server --port 8080 --host 127.0.0.1 --mem /data
> Unknown argument: host
> {noformat}
> The {{--host}} argument is also documented here:
> http://jena.apache.org/documentation/serving_data/#running-a-fuseki-server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to