Launch a web page from within vsftpd ftp server
I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.
So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do
ftp://my_location.com
a directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be launched running main.html so the address to access the web page would be
ftp://my_location.com/main.html
My problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com
Thanks for your time
fukawi2 wrote:The FTP protocol does not support redirection like HTTP does. It is a File Transport Protocol (hence, the name!) which is designed to give users a directory listing of files for transferring. You are trying to hammer a nail with a fork (ie, you are using the wrong tool.)
Okey at least now I know it's not possible.
Similar Messages
-
How do I link to an anchor point within a web page from within a PDF
Hello,
Can someone tell me how to link to an anchor point on a webpage from within a PDF?
I created a page in Word and when i add my url with the # to reference the anchor eg. www.google.com/web#test1 and test the link it all works fine. I then create a PDF of this same page however the PDF seems to strip out the URL and looks to reference a file #test1.
Any suggestions, ideas?
Thankssee this post near the top . . . if you're using framesets you will scroll to the bottom of the page to see what they posted there.
http://forums.adobe.com/message/628872#628872 -
I build websites with Dreamweaver CS3. I am operating on Mac OS 10.4.11 using Firefox 3.6.13 - The problem began on the last software update. I like to use Firefox instead of Safari. Up to the point where I upgraded, I never had a problem but now, when I go to preview/debug in browser, Firefox loads but it goes no farther than my home page ... it will not load the Dreamweaver page preview. Safari works fine. So I think there may be a problem loading 3.6.13 past the startup page.
Here's the fix. Dump Firefox 3.6.13 and Re-Install Firefox 3.5.16. Problem solved.
-
Opening a secure web page from oracle forms for credit card validation
Hi All,
I searched for the topic in the forms forum but couldn't find a solution.
Requirement: As per some compliance, our application cannot do a credit card validation from our forms application, instead we need to use a java code which a third party will provide ,it's an iframe (they say, i am layman when it comes to Java, don't know what is it), but they say that, within your forms application you call our iframe do the credit card validation over there get a token of response back from us and use this token as a confirmation in your application.
Problem: I could not find a solution anywhere wherein i can call a web page from forms. Now, this web page should be modal, i.e. unless i close this page i cannot access my forms application. Please guide me if anyone has done that.
Secondly if i could make it work, how will i communicate with this external web page, like getting back some token value and use it back in my forms application. I am completely clueless.
As we are using Oracle designer for generating forms, we cannot use a bean type thing as designer does not have the bean-item type defined!
Appreciate if anyone could provide me pointers for a solution to this problem statement.
We are on forms 9i -- Version 9.0.2.11.0
Edited by: the_wing_rider on Jul 8, 2011 5:10 AMThe simple way to do it is to use a PJC (java bean) + apache httpclient library..
If you have a webservice than you can use Axis library and wsdl2java to create java classes from wsdl.
also you can use httpclient library to simulate http protocol (request/response actions)..
(for example.. you have a credit card number.. you post this number to specified URL and then you parse the response from credit card validation server)..
Post here some documentation (specification) on how to call the credit card validation .. (maybe it's a secure webservice?)
Here you have a httpclient library documentation:
http://hc.apache.org/httpcomponents-client-ga/tutorial/html/index.html
Also you can implement bean area in designer.. If you need help I can post here how we do it in our project..
also look here: Call webservice from PJC over https protocol
regards
Peter
Edited by: Peterv6i on Jul 8, 2011 3:35 PM -
866VAE - cant acces web pages from LAN
Hi everyone,
im fighting with Cisco 866VAE-K9 for few days. I have got ADSL2+ line in Cisco, i can ping anything from router (like 8.8.8.8 or www.google.com), test of connection in CCP runs successfully, but i cant acces web pages from LAN computers. From LAN i can ping to any IP adress in internet (like 8.8.8.8), but i cant ping or access domain names of web pages (like www.google.com). I know there is probably something wrong in my config, but after 2 days of googling i cant find where the problem is. Can anybody help?
Here is my running config:
Building configuration...
Current configuration : 8181 bytes
! Last configuration change at 11:31:15 UTC Fri Mar 6 2015 by admin
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname cisco_866vae
boot-start-marker
boot-end-marker
logging buffered 51200 warnings
enable secret 5 xx
enable password xx
aaa new-model
aaa authentication login default local
aaa authorization exec default local
aaa session-id common
wan mode dsl
ip port-map user-protocol--1 port tcp 3500
ip name-server 8.8.8.8
ip cef
no ipv6 cef
parameter-map type protocol-info yahoo-servers
server name scs.msg.yahoo.com
server name scsa.msg.yahoo.com
server name scsb.msg.yahoo.com
server name scsc.msg.yahoo.com
server name scsd.msg.yahoo.com
server name cs16.msg.dcn.yahoo.com
server name cs19.msg.dcn.yahoo.com
server name cs42.msg.dcn.yahoo.com
server name cs53.msg.dcn.yahoo.com
server name cs54.msg.dcn.yahoo.com
server name ads1.vip.scd.yahoo.com
server name radio1.launch.vip.dal.yahoo.com
server name in1.msg.vip.re2.yahoo.com
server name data1.my.vip.sc5.yahoo.com
server name address1.pim.vip.mud.yahoo.com
server name edit.messenger.yahoo.com
server name messenger.yahoo.com
server name http.pager.yahoo.com
server name privacy.yahoo.com
server name csa.yahoo.com
server name csb.yahoo.com
server name csc.yahoo.com
parameter-map type protocol-info msn-servers
server name messenger.hotmail.com
server name gateway.messenger.hotmail.com
server name webmessenger.msn.com
parameter-map type protocol-info aol-servers
server name login.oscar.aol.com
server name toc.oscar.aol.com
server name oam-d09a.blue.aol.com
crypto pki trustpoint TP-self-signed-2886901321
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2886901321
revocation-check none
rsakeypair TP-self-signed-2886901321
crypto pki certificate chain TP-self-signed-2886901321
certificate self-signed 01
controller VDSL 0
class-map type inspect match-any SDM_BOOTPC
match access-group name SDM_BOOTPC
class-map type inspect match-any ccp-cls-protocol-p2p
match protocol edonkey signature
match protocol gnutella signature
match protocol kazaa2 signature
match protocol fasttrack signature
match protocol bittorrent signature
class-map type inspect match-all ccp-cls--1
match access-group name all
class-map type inspect match-all ccp-cls--2
match access-group name all1
class-map type inspect match-any ccp-cls-protocol-im
match protocol ymsgr yahoo-servers
match protocol msnmsgr msn-servers
match protocol aol aol-servers
class-map type inspect match-any SDM_SSH
match access-group name SDM_SSH
class-map type inspect match-any SDM_HTTPS
match access-group name SDM_HTTPS
class-map type inspect match-all SDM_GRE
match access-group name SDM_GRE
class-map type inspect match-any SDM_SHELL
match access-group name SDM_SHELL
class-map type inspect match-any sdm-cls-access
match class-map SDM_HTTPS
match class-map SDM_SSH
match class-map SDM_SHELL
class-map type inspect match-all sdm-access
match class-map sdm-cls-access
match access-group 101
policy-map type inspect ccp-policy-ccp-cls--1
class type inspect ccp-cls--1
pass
class class-default
drop
policy-map type inspect ccp-policy-ccp-cls--2
class type inspect ccp-cls--2
pass
class class-default
drop
zone security out
zone security in
zone-pair security sdm-zp-in-out source in destination out
service-policy type inspect ccp-policy-ccp-cls--1
zone-pair security sdm-zp-out-in source out destination in
service-policy type inspect ccp-policy-ccp-cls--2
interface Loopback0
ip address 192.168.100.1 255.255.255.0
zone-member security in
interface ATM0
no ip address
no atm ilmi-keepalive
interface ATM0.1 point-to-point
pvc 8/48
oam-pvc manage
pppoe-client dial-pool-number 1
interface Ethernet0
description $ETH-WAN$
no ip address
shutdown
pppoe-client dial-pool-number 2
interface FastEthernet0
no ip address
interface FastEthernet1
no ip address
interface FastEthernet2
no ip address
interface FastEthernet3
no ip address
interface GigabitEthernet0
no ip address
interface GigabitEthernet1
description $ETH-WAN$$FW_OUTSIDE$
ip address dhcp client-id GigabitEthernet1
ip tcp adjust-mss 1412
shutdown
duplex auto
speed auto
interface Vlan1
description $FW_INSIDE$
ip address 192.168.7.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
zone-member security in
ip tcp adjust-mss 1412
interface Dialer1
no ip address
interface Dialer2
description $FW_OUTSIDE$
ip address negotiated
ip mtu 1452
ip nat outside
ip virtual-reassembly in
zone-member security out
encapsulation ppp
dialer pool 1
dialer-group 3
ppp authentication chap pap callin
ppp chap hostname o2
ppp chap password 0 o2
ppp pap sent-username o2 password 0 o2
ip forward-protocol nd
ip http server
ip http authentication local
ip http secure-server
ip nat source list 101 interface Dialer2 overload
ip nat inside source static tcp 192.168.7.39 3500 interface Dialer2 3500
ip nat inside source list 101 interface Dialer2 overload
ip nat inside source route-map MAP_ACL interface Dialer2 overload
ip route 0.0.0.0 0.0.0.0 Dialer2 permanent
ip route 192.168.2.0 255.255.255.0 192.168.7.3 permanent
ip access-list extended NAT_ACL
deny ip 192.168.0.0 0.0.0.255 192.168.0.0 0.0.255.255
permit ip 192.168.0.0 0.0.0.255 any
ip access-list extended SDM_BOOTPC
remark CCP_ACL Category=0
permit udp any any eq bootpc
ip access-list extended SDM_GRE
remark CCP_ACL Category=1
permit gre any any
ip access-list extended SDM_HTTPS
remark CCP_ACL Category=1
permit tcp any any eq 443
ip access-list extended SDM_SHELL
remark CCP_ACL Category=1
permit tcp any any eq cmd
ip access-list extended SDM_SSH
remark CCP_ACL Category=1
permit tcp any any eq 22
ip access-list extended all
remark CCP_ACL Category=128
permit ip any any
ip access-list extended all1
remark CCP_ACL Category=128
permit ip any any
access-list 2 remark CCP_ACL Category=2
access-list 2 permit 192.168.7.0 0.0.0.255
access-list 101 remark CCP_ACL Category=128
access-list 101 permit ip any any
access-list 101 permit udp any any eq domain
access-list 101 permit udp any eq domain any
dialer-list 1 protocol ip permit
dialer-list 2 protocol ip permit
dialer-list 3 protocol ip permit
mac-address-table aging-time 15
route-map MAP_ACL permit 10
line con 0
no modem enable
line aux 0
line vty 0 4
exec-timeout 40 0
password xxxxxxx
transport input telnet ssh
transport output telnet ssh
scheduler allocate 60000 1000
endHi,
I would be happy to help but I have one question first: Your configuration contains a lot of cruft generated from SDM/CCP and I am not sure if any of that is really required by you. Do you believe you would be fine with having this entire configuration trimmed down and do just what's supposed to do (routing and NAT), and we had security measures added in later? Just by the way, I do not believe you need the zone-based firewall. In your simple setup with just a few inside/outside interfaces, it does not add any real value apart from making the configuration virtually unreadable. We can easily do the same with IP Inspect.
Best regards,
Peter -
Invoke a web page from form 6i
How can I invoke a web page from Oracle Forms 6i. The web built in has show_document but it only works with a form run from the web. Our forms are not deployed on web. Can anyone help???
The command works except there's one problem. Once explorer is launched, it grey's out my form application screen and I can't use the application parallel with web. Once I close the browser then the control is returned back to form.
Does any one know is it is possible to launch the web as well as not leave control from forms application. At this point I'm working with a work around to open another instance of application which is kinda not neat.
Pleaseeeeeeee help. -
Can I print web pages from Firefox 3.6.12 using adobe pro 9 (not using PDF Download) and if so how.
{Ctrl + P} - do you have a PDF Printer listed in the Printer - Name drop-down?
-
Can display Web pages from servlet but not applet?
I have been able to display real-world Web pages from a simple servlet using JDeveloper 3.0, but can't figure out how to do the same from an applet. Any hints?
My previous post had the detail...Probably a simple question from a relative novice. I'm having a problem just viewing web pages by calling them from a "list" of URLs in an applet. I built an applet with a split pane that has a JTree on one side and an "HTML viewing pane" on the other. I can click JTree nodes to display local html files, but I don't understand how to display web pages from the Internet. Do I need something like HyperlinkListener to make the jump to "hyper-world"???
-
TS3276 i am unable to open web pages from email links on my ipad
I am unable to open web pages from email links on my ipad
A few more details might help, if nobody else recognizes this.
What happens when you try to open the links?
Can you post an example of a link that doesn't work?
Is there any particular source for the mail with the (bad) links, or is mail from all sources failing?
If you happen to know it, what's the format of the mail message? (Maybe the message is an image?)
Do the embedded links work as expected from an OS X system running Mail.app, or some system and some other other mail client?
To view the link in iOS: if you press on and hold your finger on an embedded link in most contexts, iOS will show a pop-up with the link contents, and will offer to copy it. You can use that to acquire and post the link. If pressing and holding on the link doesn't offer the pop-up, the format of the link itself may not be valid, or it might not really be a link. -
How to open web pages from japplet??
Hi
Does anybody know how to open web pages from java japplet??
Any help is apreciated!
zickthe getAppletContext() method of the Applet class will get you an AppletContext, with which you can call the ShowDocument(URL url) or ShowDocument(URL url, String target) method...
check it out at http://java.sun.com/j2se/1.4/docs/api/java/applet/AppletContext.html
have a good one :)
Jay -
Why can't I print a web page from my Samsung Android 4.1 to my Officejet Pro 8500A. eprint is working, so I can send e-mails to my e-print address, but when I try to print a web page, it says that I don't have a printer. Can someone help me with this?
This question was solved.
View Solution.Just received an update to the Android version of HP ePrint.
It now has the ability to print web pages! Thanks HP!
WyreNut
I am a Volunteer here, not employed by HP.
You too can become an HP Expert! Details HERE!
If my post has helped you, click the Kudos Thumbs up!
If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked! -
Opening a WEB page from FORMS CS & WebForms
Hi,
We would like to open a Web Page from a forms running in
client/server as well as from a form runningover the web.
Over the web, we plan to use SHOW_DOWUMENT (Even tough it seems
broken, on forms 6.0, the only way we have got it working was by
using the parameter that overwrites the current page (the form),
we cannot have it open an URL in another window)
In C/S mode, the SHOW DOCUMENT does not work. What is the proper
way to lauch an URL in a browser in C/S mode ?
Is there a way to determine if we're running in CS mode or Web
Mode ? We would like to use the same code both on the web and in
C/S
Example pseudo code:
if (Running in CS Mode) then
open the URL using C/S method
else
open the URL with show dowument
fi
Thanks
nulluse '_blank' as parameter, not '_self'.
Guy Dallaire (guest) wrote:
: Hi,
: We would like to open a Web Page from a forms running in
: client/server as well as from a form runningover the web.
: Over the web, we plan to use SHOW_DOWUMENT (Even tough it
seems
: broken, on forms 6.0, the only way we have got it working was
by
: using the parameter that overwrites the current page (the
form),
: we cannot have it open an URL in another window)
: In C/S mode, the SHOW DOCUMENT does not work. What is the
proper
: way to lauch an URL in a browser in C/S mode ?
: Is there a way to determine if we're running in CS mode or Web
: Mode ? We would like to use the same code both on the web and
in
: C/S
: Example pseudo code:
: if (Running in CS Mode) then
: open the URL using C/S method
: else
: open the URL with show dowument
: fi
: Thanks
null -
How do i Hyperlink to a web page from a java application?
How do i Hyperlink to a web page from a java application using internet explorer as my default web browser?
It's very simple.You can start any Application with the class Runtime. The command is an array consisting of the path of .exe and the file to be open.
String [] cmd={path of IE+Filename.exe,"URL of your website"}
try
Runtime.getRuntime().exec(cmd);
catch (Exception e)
System.err.println(e.toString());
} -
Captivate 6: Can I hyperink to a web page from an image?
In Captivate 6, can I hyperlink to a web page from an image?
You can fill a smart shape with the image using the Texture button, but beware: choose a shape with the same size as the image. Maybe Sreekanth is telling the same, but I didn't get his 'assign custom image to it'? And if you want to have a pause for a shape button, you have to check it in the Timing accordion.
Another approach is to put a click box on top of the image. You can open the URL in another window using the small triangle drop down list, and be sure to uncheck Continue Project to avoid that the playhead will continue.
Lilybiri -
I trying to publish a web page from iweb, but it doesn't recognize my MobileMe account
I trying to publish a web page from iweb, but it doesn't recognize my MobileMe accouI trying to publish a web page from iweb, but it doesn't recognize my MobileMe account, what can I do?
MobileMe has been discontinued for over 2 years now. You'll need to find a new hosting server for your website.
This may be of help to you: Life After MobileMe.
Maybe you are looking for
-
When, I give the print option in my printer HP Laser Jet 1005, the error is occured that Spooler SubSystem App has encountered a problem and needs to be close. And the Computer is hanged. Kindly give me the suggestion to short out the problem. Kindl
-
How to run windows xp files on leopard,
New mac user. I cannot open backup files taken by western digital backup on my old windows system. I guess the question is how or what program do I need to open these files?
-
Disable app turn gray then it is disabled
I can't find any answer on the web. then I disable the app using this.enabled=false; this action also show a gray layer, is there anyway I can disable the app without the gray layer? thanks Willy
-
How to get result from query for ssrs?
DECLARE @meter_number int SET @meter_number=25112 IF @meter_number IN (SELECT meter_number FROM ods.pmc.meter_registers) BEGIN SELECT 'LA' as [data_center] , t.request_time_gmt , aca.transaction_id , aca.meter_number , CONVERT(date, aca.ship_date_gmt
-
I am cutting a music video and after I pick the Audio and then the video clips that was shot to the audio, the video clips spread over an hour, even though the song is only 3 minutes. Why isn't it syncing? I never had this issue before, but it's don