WebServer
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

WebServer

Started by [T-G-T]M@sto, 08 March, 2005, 15:17:11

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[T-G-T]M@sto

How does Webserver works in the new Ptokax ?
What do i need for running it ? What files and finaly how do i setup the htm files ?

Hope for some help
The Ghost Riders - tgr.dyndns.org - The Best Danish Hub

Psycho_Chihuahua

u can still use the old web Files from older Ptokax's...just tested and it works

try this --> Ptokax Webfiles
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

[UK]Maccy-LPL

Hmm, tried copying the html folder from previous Ptokax version, but cant get web pages back up - anyone got any suggestions?
Estne volumen in toga, an solum tibi libet me videre?  
 GayMacUk DC http://macdrew.no-ip.org

bastya_elvtars

I always wondered why not make PHP files with access to PtokaX's DB? Would be a more elegant and flexible one IMHO.
Everything could have been anything else and it would have just as much meaning.

Siouxsiecure

I use ptokax DC hub 0.3.3.0 build 15.25 [debug] BufA: 220, BufB: 520

The only folders i have are...

Language
logs
scripts
texts

how do i get the hmtl folder??

tnx for your answer

Jitway

Put the html folder in your PtokaX folder
It\'s not what you say but how you get your point across!

Psycho_Chihuahua

QuoteOriginally posted by Psycho_Chihuahua
u can still use the old web Files from older Ptokax's...just tested and it works

try this --> Ptokax Webfiles
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Siouxsiecure

tnx.. i already found this v0.326 version on my other hard disc, and in there is the html folder

Psycho_Chihuahua

Mutor, could u convert your hubstats script to Lua 5?

atm i only get an "onliune.lst" can't be found so userstats arn't correct - it always show 0 users in the hub ^^
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000


Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

bastya_elvtars

PHP is under BSD license, so the source does not have to be re-released, so a php plugin for PtokaX which embeds MSSQL/SQLite support would be fine. :)
Everything could have been anything else and it would have just as much meaning.

TommyGun

#12
I enabled the webserver on port 8080 and i forward port 8080 in my router to my PtokaX server. But i can't connect to the webserver? My hub adress is gamergun.mine.nu:411 so the webserver adress need to be gamergun.mine.nu:8080 right? The hub is working perfect.

Thanks in advance.

Sorry for my bad English, i'm Dutch
My computer specifications :: http://tweakers.net/gallery/sys/9478

[NL]Pur

can you connect to it by using 127.0.0.1:8080 ?

TommyGun

No.

192.168.2.100 is the network ip from my server. I also forwarded port 411 to 192.168.2.100 so everyone can join the hub and that works. But forwarding 8080 to 192.168.2.100 doesnt work?
My computer specifications :: http://tweakers.net/gallery/sys/9478

[NL]Pur

I gave it a closer look and did the following with version 0.3.3.0.b17.07.

i created a html directory with the same files in it as provided by older ptokax version.

First i tested the webserver on port 80. And noticed that the port editbox is greyed out. ( i think this has a reason).

connected on 127.0.0.1 and the page was displayed.


closed ptokax.
then i changed the port number in the ini file to 8080
webserver still enabled.

and it didn't work on 127.0.0.1:8080.


But as i sayed earlier the box is greyed out where you normally fill in the port number. So it's not a bug or wrong port forwarding , the feature is just not there ;)

i guess this belongs in feature requests then...

TommyGun

#16
I downloaded the zip in post #2 from this topic and i use the HTML folder in that zip. But the port box is not greyed out when you STOP the hub. I did that, changed the port number and started the hub. But i will change to 80 and check it :) Edit; changed and deleted the 8080 forwarding in my router but it still doesnt work :( What do i need to do?
My computer specifications :: http://tweakers.net/gallery/sys/9478

[NL]Pur

Ah is seemed to have tested first with 17.07.

17.08 doesn't have the textbox flaw anymore.

Also i tried now on 8080 again and it worked too, i had a tomcat server running on 8080 earlier , i guess you can't run 2 servers on 1 port. ^.^


Also whould suggest the following:

Don't forward your ports
Test ptokax webserver on 127.0.0.1 (localhost)

if that works, then you know ptokax isn't the problem.

then try to forward a port
and test again with the outside address.

if that fails, then you are doing something wrong in your router. if that works congrat :)

TommyGun

#18
Everything is on "standard" now. But it still doesnt work:

http://members.lycos.nl/gamerguntk/uploads/2/1.PNG
http://members.lycos.nl/gamerguntk/uploads/2/2.PNG

Strange... Am i missing something or am i doing something wrong?
My computer specifications :: http://tweakers.net/gallery/sys/9478

Dessamator

u also have to add the webpage folder to ur ptokax folder, and other stuff , good luck!
Ignorance is Bliss.

[NL]Pur

get the newest version from ptokax.org
17.08 or higher preferbly

TommyGun

#21
Installed but still doesnt work.

Dessamator, how do you mean?

I got this:

PtokaX dir with:

html -> templates -> hubchat.html & hubstats.html
html -> webstats -> index.html & other layout files / images

As i sad, i got this from the ZIP file at post #2. Thanks in advance and for all te help here :)

I tried this also:

http://board.univ-angers.fr/thread.php?threadid=4002&boardid=26&styleid=1

But i saw this topic with the same problem:

http://board.univ-angers.fr/thread.php?threadid=4232&boardid=9&styleid=1&sid=279adfa179807846c5d2ca40223608ea

And Mutor says:

"to disable and then enable the WebServer on the oprions page. It seems sometimes the web server is not started at hub start."

I tried a couple times (disable / enable) and it works now on local host! Lets forward the port!

Edit; and it works now at other people too!

Thanks all! Thanks thanks thanks !

Only one question left:

The online members page, there is only one member called   [Admin]Mutor. I saw that this file is linking to members.html. But how can i let this work so i really see the online members?
My computer specifications :: http://tweakers.net/gallery/sys/9478

Dinok

I have written in file hubstats.html tag <--HUBUPTIME--> , and in statistics appear time of the working the hub. Can be there is else some tags?

Yahoo

i will like to have html files which will support ptokax webserver
and it must be like this site means only the user who are registered
in the hub must be able to login with the same nick and pass tht they
have in the hub and it should have forum were user can write there
request or problems or anything they want if possible it must also show
Total time Logged in etc etc

thanks in adavace  :D
"BoRN FIGhTEr"

Tw?sT?d-d?v

Quote from: Yahoo on 23 May, 2007, 16:16:37
i will like to have html files which will support ptokax webserver
and it must be like this site means only the user who are registered
in the hub must be able to login with the same nick and pass tht they
have in the hub and it should have forum were user can write there
request or problems or anything they want if possible it must also show
Total time Logged in etc etc

thanks in adavace  :D

At the mo the only script about for the webserver is Mutors pxstats   HERE Which if you click links on his signature you can see a demo or click HERE to see my version

SMF spam blocked by CleanTalk