PDA

Bekijk de volledige versie : Web Server



Antiloop
18-04-2004, 20:12
Originally posted by Patriarch
Hey again
Ehm I don't now linux much. But my question is:
Can i make a webserver on my future USB pen drive?
Meaning whenever somebody accesses my ip with or without dns then they could get redirected to the root of my website.

Httpd is the NsCa webserver right? I dont see it anywhere in my router setup (using the latest official firmware) Does this mean you goes have it working allready in your customized firmware?

Please be patient I'm an all Windows guy;-]

regards

Patriarch

yes that IS possible.
don't know if you just can use the normal httpd for this, or you have to use an altered one

Technik
18-04-2004, 21:03
Originally posted by Patriarch
Can i make a webserver on my future USB pen drive?

Yes. :)


Httpd is the NsCa webserver right? I dont see it anywhere in my router setup (using the latest official firmware) Does this mean you goes have it working allready in your customized firmware?

The http daemon is present (and running) even in the original firmware because of the web configurator! :)
You can test it easily with any customized firmware using Telnet.
- make your web index page and name it index.asp
- put it on your flash USB drive (for instance to www folder)
- switch to folder containing that index page: cd /mnt/usbfs/www
- kill the httpd and run it again: killall httpd ; httpd
- try to open the router address with any HTTP browser

Please note the watchdog application will reboot the router if it does not see the httpd running.

[/B][/QUOTE]

Patriarch
19-04-2004, 09:05
Would it be possible to change the FTP server function into a web server. I've seen small web servers based on java code (which should be transparent to platforms). So I was wondering if it would be possible to just impliment this function into the firmware.

Another thought is just to change the ftp port to 80 and allow anonymous access and upload your website to your usb HDD og USB key. I dont have any of these items so i cannot test it but would it work?

PS Great Work with the forum, Nice that users can help each other when they cannot get help from Asus;-[

Technik
19-04-2004, 12:39
??? Why don't you want to use the httpd? :)

Patriarch
19-04-2004, 14:17
Hey again
Ehm I don't now linux much. But my question is:
Can i make a webserver on my future USB pen drive?
Meaning whenever somebody accesses my ip with or without dns then they could get redirected to the root of my website.

Httpd is the NsCa webserver right? I dont see it anywhere in my router setup (using the latest official firmware) Does this mean you goes have it working allready in your customized firmware?

Please be patient I'm an all Windows guy;-]

regards

Patriarch

Patriarch
19-04-2004, 18:02
Howdy!
I managed du use the httpd as described by Teckie thanks for the help. However i could only access the router using my admin password etc. How can I get past this? Also can i only use active serverpages on this router?

Also a little OT: I'm happy by the modified firmware I just don't like that my Telnet port is not Stealth anymore. I tried using the WAN vs Lan filter to block internet access to my router. Don't now if this was succesfull but it seems whenever my friend portscans my IP he gets an invitation to use telnet. Have you guys succesfully stealth'ed this port from Internet? If So Can you explain how?

Thanks in advance

Patriarch

Antiloop
19-04-2004, 19:16
Originally posted by Patriarch
Howdy!
I managed du use the httpd as described by Teckie thanks for the help. However i could only access the router using my admin password etc. How can I get past this? Also can i only use active serverpages on this router?

Also a little OT: I'm happy by the modified firmware I just don't like that my Telnet port is not Stealth anymore. I tried using the WAN vs Lan filter to block internet access to my router. Don't now if this was succesfull but it seems whenever my friend portscans my IP he gets an invitation to use telnet. Have you guys succesfully stealth'ed this port from Internet? If So Can you explain how?

Thanks in advance

Patriarch

port could be closed in theory.. you could also change your username to prevent that others try to bruteforce your telnet

for the httpd.. there is somewhere floating another version around.. believe somewhere at seattlewireless (search forum for exact link)