use /QNTC/server/share in http-server mapping
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere HTTP Server > use /QNTC/server/share in http-server mapping




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    use /QNTC/server/share in http-server mapping  
Patrick Goovaerts


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

Anyone used a /qntc/server/share mapping before ?

I tried but always get following error:
===============>
Forbidden - by rule. 
You do not have permission to access /myshare/mydocument.pdf on this server.
===============>

here is a code-snippet:
===============>
...
Alias /testmapping/ /qntc/myserver/myshare/
...
<Directory /qntc/myserver/myshare>
Order Allow,Deny
Allow From all
Require valid-user
AuthName myRealm
AuthType Basic
UserID %%CLIENT%%
PasswdFile %%SYSTEM%%
</Directory>
...
===============>


When I change the mapping to a home_folder (/home/myfolder), it works normal
.

thanks.





[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Ray McVay


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

Is qntc a domain? Wouldn't the unc then be ///qntc//server/share ?

Patrick Goovaerts wrote:
> Anyone used a /qntc/server/share mapping before ?
>
> I tried but always get following error:
> ===============>
> Forbidden - by rule.
> You do not have permission to access /myshare/mydocument.pdf on this serve
r.
> ===============>
> here is a code-snippet:
> ===============>
> ...
> Alias /testmapping/ /qntc/myserver/myshare/
> ...
> <Directory /qntc/myserver/myshare>
>    Order Allow,Deny
>    Allow From all
>    Require valid-user
>    AuthName myRealm
>    AuthType Basic
>    UserID %%CLIENT%%
>    PasswdFile %%SYSTEM%%
> </Directory>
> ...
> ===============>
>
> When I change the mapping to a home_folder (/home/myfolder), it works
> normal.
>
> thanks.





[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Patrick Goovaerts


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

QNTC is not a domain.  It is a filesystem on the iSeries (AS400) which
points to the
Integrated Windows2000 Server on the iSeries.  The folders on the IWS are
accessed through:
/QNTC/server/share

Using this link, I can retrieve foldercontents from inside a jsp in our
Websphere Application Server but cannot do this through the IBM HttpServer
(powered by Apache).




"Ray McVay" <raymmailbox-news@yahoo.com> wrote in message
news:cgjm7v$69le$1@news.boulder.ibm.com...[vbcol=seagreen]
> Is qntc a domain? Wouldn't the unc then be ///qntc//server/share ?
>
> Patrick Goovaerts wrote: 
server.[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

You are using Alias of /testmapping to point to this directory.
1. Does the user-id that the HTTP server runs with have read access to this
directory tree?
2. What is the URL that you are using to access this document? Can you post
associated lines from access_log and error_log?

Sunit

"Ray McVay" <raymmailbox-news@yahoo.com> wrote in message
news:cgjm7v$69le$1@news.boulder.ibm.com...[vbcol=seagreen]
> Is qntc a domain? Wouldn't the unc then be ///qntc//server/share ?
>
> Patrick Goovaerts wrote: 
server.[vbcol=seagreen] 







[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Patrick Goovaerts


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

1) Yes, the user has full access to that specific folder
2) URL= www.oursystem.be:2021/mappedname/documentname.ext

After adding 'basic authentication' to the root-level (/qntc) too, it seems
the authentication process is running normal now.  However, we receive an
HTTP 404 error now (file /qntc/myserver/share) does not exist...

Anyway, access to the top level is possible now so we started at the
top-level to follow the proccess step-by-step to check where/when it goes
wrong.  Then we found out that access the toplevel of the tree '/QNTC' or
'/QNTC/myserver' goes without any problem but not the share-folder, although
we see this folder in the parent_folder!

example:
- we load the url which is mapped to the top_folder (qntc)
- we have to enter userid/password
- we receive an html-page indicating 'parent directory' and 'myserver'.
- we click on 'myserver' which returns another page with shares to which we
have access to
- we click on the share but now we receive a page_not_found

==> Error Log shows
[Fri Aug 27 14:22:59 2004] [error] [client 10.0.0.197] ZSRV_MSG0
018: File
/QNTC/NTANT014/Conti7 does not exist, referer:
http://www.clippersupport.be:2021/TestFolder/NTANT014/
[Fri Aug 27 14:22:59 2004] [error] [client 10.0.0.197] ZSRV_MSG0
016: URI in
request GET /TestFolder/NTANT014/Conti7/ HTTP/1.1 is not valid, referer:
http://www.clippersupport.be:2021/TestFolder/NTANT014/

==> Error Log shows
10.0.0.197 - LG [27/Aug/2004:14:22:46 +0200] "GET /TestFolder/ HTTP/1.1"
 200
312 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
10.0.0.197 - LG [27/Aug/2004:14:22:49 +0200] "GET /TestFolder/NTANT014/
HTTP/1.1" 200 505 "http://www.clippersupport.be:2021/TestFolder/"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
10.0.0.197 - LG [27/Aug/2004:14:22:59 +0200] "GET
/TestFolder/NTANT014/Conti7/ HTTP/1.1" 404 225
"http://www.clippersupport.be:2021/TestFolder/NTANT014/" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.0)"




"Sunit Patke" <supatke@nospam.com> wrote in message
news:cgl80j$6egi$1@news.boulder.ibm.com...
> You are using Alias of /testmapping to point to this directory.
> 1. Does the user-id that the HTTP server runs with have read access to
this
> directory tree?
> 2. What is the URL that you are using to access this document? Can you
post
> associated lines from access_log and error_log?
>
> Sunit
>
> "Ray McVay" <raymmailbox-news@yahoo.com> wrote in message
> news:cgjm7v$69le$1@news.boulder.ibm.com... 
> server. 
>
>







[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Sunit Patke


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

Do you have index.html (or similar welcome file) in all folders (/QNTC and
/QNTC/myserver) except the last one (Conti7)?

Sunit

"Patrick Goovaerts" <p.goovaerts@clipper.be> wrote in message
news:cgn9su$3gtm$1@news.boulder.ibm.com...
> 1) Yes, the user has full access to that specific folder
> 2) URL= www.oursystem.be:2021/mappedname/documentname.ext
>
> After adding 'basic authentication' to the root-level (/qntc) too, it
seems
> the authentication process is running normal now.  However, we receive an
> HTTP 404 error now (file /qntc/myserver/share) does not exist...
>
> Anyway, access to the top level is possible now so we started at the
> top-level to follow the proccess step-by-step to check where/when it goes
> wrong.  Then we found out that access the toplevel of the tree '/QNTC' or
> '/QNTC/myserver' goes without any problem but not the share-folder,
although
> we see this folder in the parent_folder!
>
> example:
> - we load the url which is mapped to the top_folder (qntc)
> - we have to enter userid/password
> - we receive an html-page indicating 'parent directory' and 'myserver'.
> - we click on 'myserver' which returns another page with shares to which
we
> have access to
> - we click on the share but now we receive a page_not_found
>
> ==> Error Log shows
> [Fri Aug 27 14:22:59 2004] [error] [client 10.0.0.197] ZSRV_MS
G0018: File
> /QNTC/NTANT014/Conti7 does not exist, referer:
> http://www.clippersupport.be:2021/TestFolder/NTANT014/
> [Fri Aug 27 14:22:59 2004] [error] [client 10.0.0.197] ZSRV_MSG0016: U
RI
in
> request GET /TestFolder/NTANT014/Conti7/ HTTP/1.1 is not valid, referer:
> http://www.clippersupport.be:2021/TestFolder/NTANT014/
>
> ==> Error Log shows
> 10.0.0.197 - LG [27/Aug/2004:14:22:46 +0200] "GET /TestFolder/ HTTP/1.1"[/vbco
l]
200[vbcol=seagreen]
> 312 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
> 10.0.0.197 - LG [27/Aug/2004:14:22:49 +0200] "GET /TestFolder/NTANT014
/
> HTTP/1.1" 200 505 "http://www.clippersupport.be:2021/TestFolder/"
> "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
> 10.0.0.197 - LG [27/Aug/2004:14:22:59 +0200] "GET
> /TestFolder/NTANT014/Conti7/ HTTP/1.1" 404 225
> "http://www.clippersupport.be:2021/TestFolder/NTANT014/" "Mozilla/4.0
> (compatible; MSIE 6.0; Windows NT 5.0)"
>
>
>
>
> "Sunit Patke" <supatke@nospam.com> wrote in message
> news:cgl80j$6egi$1@news.boulder.ibm.com... 
> this 
> post 
works[vbcol=seagreen] 
>
>







[ Post a follow-up to this message ]



    Re: use /QNTC/server/share in http-server mapping  
Patrick Goovaerts


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:46 PM

PROBLEM SOLVED!

I indicated a ServerUserID at <directory> </directory> level.  This must be
at Global Level!

==>  ServerUserID QTMHHTTP

must be  changed to

==> ServerUserID anotheruser

thanks for your help folks!



"Sunit Patke" <supatke@nospam.com> wrote in message
news:cgne2s$82js$1@news.boulder.ibm.com...
> Do you have index.html (or similar welcome file) in all folders (/QNTC and
> /QNTC/myserver) except the last one (Conti7)?
>
> Sunit
>
> "Patrick Goovaerts" <p.goovaerts@clipper.be> wrote in message
> news:cgn9su$3gtm$1@news.boulder.ibm.com... 
> seems 
an[vbcol=seagreen] 
goes[vbcol=seagreen] 
or[vbcol=seagreen] 
> although 
> we 
File[vbcol=seagreen] 
> in 
> 200 
this[vbcol=seagreen] 
> works 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:50 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register