Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 98,977
» Latest member: bongdaconginfo1
» Forum threads: 2,426
» Forum posts: 11,371

Full Statistics

Online Users
There are currently 879 online users.
» 1 Member(s) | 875 Guest(s)
Applebot, Bing, Google, 2027w88

Latest Threads
WebApplication.IP change ...
Forum: IntraWeb General Discussion
Last Post: MJS@mjs.us
09-11-2026, 09:49 PM
» Replies: 1
» Views: 312
Hook/callback to handle t...
Forum: IntraWeb General Discussion
Last Post: Lenfors
09-08-2026, 09:03 AM
» Replies: 0
» Views: 244
Reproducible IIS crash in...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
09-08-2026, 01:48 AM
» Replies: 0
» Views: 266
The packages IW16.xx inc...
Forum: IntraWeb General Discussion
Last Post: hsbelli
09-03-2026, 11:46 AM
» Replies: 2
» Views: 575
Redirection issues with F...
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 10:03 AM
» Replies: 0
» Views: 315
Source Code
Forum: IntraWeb General Discussion
Last Post: magosk
08-31-2026, 08:11 AM
» Replies: 3
» Views: 740
TContenthandler requires ...
Forum: IntraWeb General Discussion
Last Post: valmeras
08-30-2026, 02:35 AM
» Replies: 0
» Views: 290
TIWjQDBGrid erratic behav...
Forum: IntraWeb General Discussion
Last Post: alex.trejo@tttnet.com.mx
08-20-2026, 05:12 PM
» Replies: 8
» Views: 2,394
Change Language DataTable
Forum: IntraWeb General Discussion
Last Post: Rigoberto Mercedes
08-19-2026, 03:21 PM
» Replies: 1
» Views: 432
How to terminate HTTP Thr...
Forum: Indy
Last Post: rlebeau
08-14-2026, 08:01 AM
» Replies: 5
» Views: 1,097

 
  Reach specific html link ?
Posted by: gabin1405 - 10-29-2019, 04:50 PM - Forum: IntraWeb General Discussion - Replies (2)

Hello,

My company has a commercial website. We use IW15 to manage it, with some HTML files. The point is, if I start a new session, it automatically send the user to the index.html.

I would like to send specific URL link to my clients, but when they click for the first time, they reach the index.html page.

https://www.miv-soft.com/tutoriel.html

It is our website. I would like to go to the specific html file even if it's the first connection. How can I manage it ? 

By the way, the result is the same with a empty project.

Thanks for your help.

Print this item

  Multiple websites, single IP address with Intraweb and Apache
Posted by: troberts - 10-29-2019, 09:20 AM - Forum: IntraWeb General Discussion - Replies (1)

Multiple websites, single IP address with Intraweb and Apache

There are a number of ways that you can serve multiple websites created using Intraweb from a single webserver and single public IP address. I am going to describe the way I set it up in case others find it useful. I'm not suggesting that this is the best or only way to do it, but it worked for me.

Step 1. Assign unique port numbers to your Intraweb applications. Do this by setting the Port property of the ServerController. For example, set application 1 to port 50000, application 2 to port 50001 and so on. Also set the AppName property of the ServerController. Note that this name cannot contain any spaces.

Step 2. Compile the Intraweb applications as a Windows service. You can set up your dpr file to easily switch between stand-alone executable (for use during development) and service (for deployment).

Code:
{$DEFINE SERVICE}
//{$DEFINE EXE}
program Application1;
uses  
  {$IFDEF EXE}
  IWRtlFix,
  Forms,
  UTF8ContentParser,
  IWMain,
  IWStart,
  {$ENDIF}
  {$IFDEF SERVICE}
  IWRtlFix,
  IWStart,
  {$ENDIF}
  Form1 in 'Form1.pas',   
  ServerController in 'ServerController.pas',
  UserSessionUnit in 'UserSessionUnit.pas';
{$R *.res}
begin  
  {$IFDEF EXE}  
  TIWStart.Execute(True);
  {$ENDIF}
  {$IFDEF SERVICE}
  TIWStart.Execute(False);
  {$ENDIF}
end.

Step 3. When you are ready to deploy, compile the application as a service and copy the .exe file to a suitable location on your webserver. Install the service application by running Application1.exe -install from a command line (this step only needs to be done once).
 
Step 4. Run the Windows Services Manager (press Start and type Services). The Services Manager will be your friend for the remainder of the setup process. Check in the Services Manager and you should see your application listed. You will find it listed under the AppName that you defined in step 1. Set its startup type to Auto and start if it’s not already running. 

Step 5. Install Apache. There are a number of places where you can download a Windows installer for the current version of the Apache HTTP server. Choose the 32-bit or 64-bit option as appropriate. Here’s the site that I used:

https://www.apachehaus.com/cgi-bin/download.plx

After installing Apache, check in the Services Manager to see if it is running (Apache HTTP Server).

Step 6. Purchase the domain names (from godaddy or another provider) and a public static IP address (from your ISP) if you don’t have one already.
Let’s say you purchase domain names application1.com and application2.com. You need to configure the name server records for both the domain names so that you have an “A” record which points to your webserver’s public static IP address. For example, you need an “A” record with host name application1.com pointing to your static IP address, and similarly for application2 you need an “A” record with host name application2.com pointing to the same IP address.

Note that it can take up to eight hours for the name server changes you make to take effect. In my case it took a couple of hours.

Step 7. Set up port forwarding on your broadband router so that port 80 is forwarded to your webserver. You will need to assign a local static IP address to your webserver to do this. For example, if you have assigned the static address 192.168.1.1 to your webserver, create a port forward in your router so that requests on port 80 are forwarded to 192.168.1.1.

Step 8. Edit the Apache configuration file. If you have installed Apache in the default location, the file you want to edit is this one:

C:\Apache24\conf\extra\httpd-vhosts.conf

Add the following lines:


Code:
NameVirtualHost *:80
<VirtualHost *:80>
    ServerName application1.com
    ProxyPass / http://127.0.0.1:50000/
    ProxyPassReverse / http://127.0.0.1:50000/
</VirtualHost>
<VirtualHost *:80>
    ServerName application2.com
    ProxyPass / http://127.0.0.1:50001/
    ProxyPassReverse / http://127.0.0.1:50001/
</VirtualHost>

The NameVirtualHost directive tells Apache that we want it to listen on port 80 for requests to virtual hosts.

The first VirtualHost section tells Apache to take any requests that are made to the application1.com domain name and pass them on to port 50000 on the local machine. This is of course the port that your Intraweb application is listening on. Likewise, any requests made to application2.com are passed on to port 50001. Apache is acting as a “reverse proxy” in this case. Rather than allowing an internal application to access the internet via a proxy server, it takes requests from the internet and directs them to an internal application.

After saving the httpd-vhosts.conf file, restart Apache using the services manager.

That’s it. You can test locally by browsing to http://127.0.0.1:50000/ and http://127.0.0.1:50001/ and you should get the application1 and appliation2 websites respectively. If they are working, then try using the domain names you have registered.
When you need to update your website executable file, stop the application service, copy the new file over the old one and then start the service.

Print this item

  Another Bootstrap problems
Posted by: Anto90 - 10-25-2019, 03:43 PM - Forum: IntraWeb General Discussion - Replies (10)

Hi, I noticed problems on iwbscheckbox and iwbsradiobutton on intraweb 15.1.7.
Having an iwbscheckbox inside an iwbsregion if I try to read the checkbox value
value: = iwbscheckbox.checked; I always get the value false. If instead the same component is inside an iwbsinputform the value is read correctly.

Instead having an iwbsradiobutton inside an iwbsregion the checked property is read correctly. If it is inside an iwbsinputform, it is not read correctly (it always returns false).
If possible I would need an answer as soon as possible as I should go in line with the updated site.
I am attaching an example project to highlight the problem.
Thank you
Andrea



Attached Files
.zip   Example.zip (Size: 54.1 KB / Downloads: 6)
Print this item

Photo Updating a jquery value -- HOW TO?
Posted by: pdinsd - 10-25-2019, 12:53 AM - Forum: IntraWeb General Discussion - Replies (2)

I have a gauge rendered on my form using the raphael jquery library.  The gauge renders correctly using the following code (placed inside a script property of a div element):

Code:
$('.PEERSON').kumaGauge({
   value : 20,
   showNeedle : false,
   valueLabel : {display : true,
                         fontColor : '#000',
                         fontSize : 20},
   title : {
       // show or hide this label
       display : true,
       // String the value of the title
       value : 'PEERS ON',
       // The font family of this label
       fontFamily : 'Arial',
       // The font color of this label
       fontColor : '#000',
       // Integer of The font size of this label (without px)
       fontSize : 20,
       // The font weight of this label
       fontWeight : 'normal'
    }
});

How can I change the "value" from Intraweb so that the gauge updates?  I know it's probably simple, but I can't see an easy way to update a jquery element's value from Delphi/Intraweb.

Any help would be greatly appreciated.

Print this item

  IW 15.1 to 15.1.7
Posted by: Mikael Nilsson - 10-23-2019, 01:45 PM - Forum: IntraWeb General Discussion - Replies (12)

Hi,

I installed IW 15.17 on top of everything and get this error. What is wrong?

Print this item

  secure idFTP server
Posted by: Toni Santa - 10-23-2019, 08:44 AM - Forum: Indy - Replies (1)

Hi,
I've build a secure idFTP Server with self-signed cert.pem and key.pem. Launching it on a PC of my LAN I can access to it from a idFTP-client without problems. Trying to access through cuteFTP-client or FileZilla-client there is some trouble.
From FileZilla the log says:
Stato: Disconnesso dal server
Stato: Connessione a 192.168.0.56:21...
Stato: Connessione stabilita, in attesa del messaggio di benvenuto...
Stato: Inizializzazione TLS in corso...
Stato: Verifica del certificato in corso...
Stato: Connessione TLS stabilita.
Stato: Accesso effettuato
Stato: Lettura elenco cartelle...
Comando: PWD
Risposta: 257 "/" is working directory.
Comando: TYPE I
Risposta: 200 Type set to I.
Comando: PASV
Risposta: 500 Could not bind socket. Address and port are already in use.
Comando: PORT 192,168,0,56,213,120
Risposta: 200 PORT Command successful.
Comando: MLSD
Risposta: 125 File status okay; about to open data connection.
Risposta: 426 Data connection closed abnormally.
Errore: Non è stato possibile leggere il contenuto della cartella
Stato: Connessione chiusa dal server


 
It seems the connection was closed by the server with "426 Data connection closed abnormally"
Any help appreciated.
best regards
Toni

Print this item

  15.1.7?
Posted by: SWTwo6 - 10-22-2019, 09:37 AM - Forum: IntraWeb General Discussion - Replies (1)

Hi all, 

your website is showing a 15.1.7 release. Is this correct? I can't find any details on what has changed?

https://www.atozed.com/2019/10/15-1-7/

Print this item

  upgrade to IW15 from 14
Posted by: chiswilson - 10-21-2019, 05:13 PM - Forum: IntraWeb General Discussion - Replies (3)

Hi,
I'm going to upgrade to IW 15 Ultimate, from my old IW 14.
Using Delphi 2010.

I assume this should be an easy upgrade, with minimal or no code changes required?

thanks,
CW

Print this item

  show Active Sessions when executing as a Service
Posted by: tobenschain - 10-21-2019, 02:20 AM - Forum: IntraWeb General Discussion - Replies (5)

Is there a way to show Active Sessions when executing as a Service like it does when run as an app?

Print this item

  IW 15.1.6 is out
Posted by: Alexandre Machado - 10-20-2019, 11:25 AM - Forum: IntraWeb General Discussion - No Replies

Hi guys,

we have just released a new update for 15.1 branch, version 15.1.6.

Lots of fixes in this release!

Cheers

Version History: https://www.atozed.com/2019/10/15-1-6-h/
Download: https://www.atozed.com/2019/10/intraweb-15-1-6/

Print this item