I forget to say:
If use <?prg and ?>
must modify apache .\conf\httpd.conf and add: SetEnv RUN_AS_PHP "1"
Search found 15 matches: httpd
Searched query: httpd
- Wed Jun 12, 2024 3:32 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Mod Harbour installation -
- Replies: 16
- Views: 1754
- Sat Apr 20, 2024 6:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Compiler with MSVC y HARBOUR
- Replies: 3
- Views: 675
Re: Compiler with MSVC y HARBOUR
... directory, commonly within the Apache installation directory or a system path where Apache can access them. You might need to configure the httpd.conf or other relevant Apache configuration files to specify the paths to these libraries if not automatically detected.
Test: After installation ...
Test: After installation ...
- Wed Feb 21, 2024 6:22 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Intercambio de datos entre PC y dispositivo Android en la m
- Replies: 2
- Views: 506
Re: Intercambio de datos entre PC y dispositivo Android en la m
Bon dia,
Si usas httpd creo recordar que habia la funcion UAddHeader(). Puedes probar antes de generar la salida -> UAddHeader( "Access-Control-Allow-Origin", "*" )
Si no usas ssl te pueden facilmente leer el contenido.
Tu escenario es el tipico de uso de webservices. Tampoco autenticas la ...
Si usas httpd creo recordar que habia la funcion UAddHeader(). Puedes probar antes de generar la salida -> UAddHeader( "Access-Control-Allow-Origin", "*" )
Si no usas ssl te pueden facilmente leer el contenido.
Tu escenario es el tipico de uso de webservices. Tampoco autenticas la ...
- Sun Jul 16, 2023 11:14 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: TWebView y Javascript
- Replies: 6
- Views: 656
Re: TWebView y Javascript
Efectivamente, necesitas un servidor Web que esté corriendo en tu máquina
Puedes probar a instalar Apache ( Xampp ) o simplemente el httpd de harbour
Puedes probar a instalar Apache ( Xampp ) o simplemente el httpd de harbour
- Thu May 25, 2023 4:24 am
- Forum: mod_harbour
- Topic: SSE example
- Replies: 19
- Views: 9810
Re: SSE example
... way I implement mod_harbour is to include PRG in HTML.
The implementation is just like PHP, so you have to modify the example code.
I test it and httpd.exe cpu loading is 0%~0.5% only.
demo file download:
https://is.gd/lyVHyf
<?prg
LOCAL cMethod := AP_Method()
LOCAL hParam := hb_hash()
LOCAL ...
The implementation is just like PHP, so you have to modify the example code.
I test it and httpd.exe cpu loading is 0%~0.5% only.
demo file download:
https://is.gd/lyVHyf
<?prg
LOCAL cMethod := AP_Method()
LOCAL hParam := hb_hash()
LOCAL ...
- Wed Jan 04, 2023 11:11 am
- Forum: mod_harbour
- Topic: How install Harbour on web server
- Replies: 26
- Views: 10751
Re: How install Harbour on web server
Only a note:
What is the equivalent of apachectl configtest on Apache for Windows?
I try to block some IPs.
On windows you have to use: httpd -t
After blocking the IP the server reports a 404
I use following in httpd.conf
<RequireAll>
Require not ip 51.x.x.229 176.x.x.85 x.x.223.85
Require all ...
What is the equivalent of apachectl configtest on Apache for Windows?
I try to block some IPs.
On windows you have to use: httpd -t
After blocking the IP the server reports a 404
I use following in httpd.conf
<RequireAll>
Require not ip 51.x.x.229 176.x.x.85 x.x.223.85
Require all ...
- Mon Dec 12, 2022 9:38 pm
- Forum: mod_harbour
- Topic: metodo Get
- Replies: 11
- Views: 4473
Re: metodo Get
... 1.-Instalo Xampp 64 bit y lo reinicio y todo bien
2.-Copio todas las dll y modharbour.exe a la siguiente direccion C:\xampp\cgi-bin
3.-copio httpd.conf a la siguiente direccion C:\xampp\apache\conf
4.-copio htaccess a la siguiente direccion C:\xampp\htdocs.
5. reinicio xampp
6.-Me sale el ...
2.-Copio todas las dll y modharbour.exe a la siguiente direccion C:\xampp\cgi-bin
3.-copio httpd.conf a la siguiente direccion C:\xampp\apache\conf
4.-copio htaccess a la siguiente direccion C:\xampp\htdocs.
5. reinicio xampp
6.-Me sale el ...
- Mon Dec 12, 2022 2:08 am
- Forum: mod_harbour
- Topic: metodo Get
- Replies: 11
- Views: 4473
Re: metodo Get
... hice la descargue de los archivos en link que me diste, copie las dll y el modharbour.exe en C:\xampp\cgi-bin, agregue estas estas lineas:
En Httpd.conf, que se encuetra en esta carpeta: C:\xampp\apache\conf
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb ...
En Httpd.conf, que se encuetra en esta carpeta: C:\xampp\apache\conf
LoadModule harbour_module modules/mod_harbour.so
<FilesMatch "\.(prg|hrb ...
- Fri Nov 25, 2022 12:46 pm
- Forum: mod_harbour
- Topic: Great news regarding mod_harbour CGI !!!
- Replies: 43
- Views: 18322
Re: Great news regarding mod_harbour CGI !!!
Muchas gracias! :-)
Estás usando el fichero .htaccess y el httpd.conf que proporcionamos en el repo ?
Si
.htaccess
# Harbour - forward all request to modharbour.exe
RewriteEngine on
RewriteRule ^(.*\.prg) /cgi-bin/modharbour.exe?$1 [L,QSA]
RewriteEngine on
RewriteRule ^([^\.]+) /cgi-bin ...
Estás usando el fichero .htaccess y el httpd.conf que proporcionamos en el repo ?
Si
.htaccess
# Harbour - forward all request to modharbour.exe
RewriteEngine on
RewriteRule ^(.*\.prg) /cgi-bin/modharbour.exe?$1 [L,QSA]
RewriteEngine on
RewriteRule ^([^\.]+) /cgi-bin ...
- Fri Nov 25, 2022 12:28 pm
- Forum: mod_harbour
- Topic: Great news regarding mod_harbour CGI !!!
- Replies: 43
- Views: 18322
Re: Great news regarding mod_harbour CGI !!!
... blob/master/cgi/windows/.htaccess
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
Then place a little test.prg in your cgi-bin folder like this one:
function Main()
? Time()
return nil
and then go to localhost/test ...
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
Then place a little test.prg in your cgi-bin folder like this one:
function Main()
? Time()
return nil
and then go to localhost/test ...
- Fri Nov 25, 2022 12:12 pm
- Forum: mod_harbour
- Topic: Great news regarding mod_harbour CGI !!!
- Replies: 43
- Views: 18322
Re: Great news regarding mod_harbour CGI !!!
Muchas gracias!
Estás usando el fichero .htaccess y el httpd.conf que proporcionamos en el repo ?
Estás usando el fichero .htaccess y el httpd.conf que proporcionamos en el repo ?
- Mon Nov 21, 2022 6:12 pm
- Forum: mod_harbour
- Topic: Al ir a descargar Mod_Harbour
- Replies: 3
- Views: 1942
Re: Al ir a descargar Mod_Harbour
... https://github.com/FiveTechSoft/mod_harbour/tree/master/cgi/windows
Copy .hcaccess to apache/htdocs:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/.htaccess
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
Copy .hcaccess to apache/htdocs:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/.htaccess
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
- Mon Nov 07, 2022 6:31 pm
- Forum: mod_harbour
- Topic: Great news regarding mod_harbour CGI !!!
- Replies: 43
- Views: 18322
Great news regarding mod_harbour CGI !!!
... blob/master/cgi/windows/.htaccess
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
and enjoy the power and robustness of mod_harbour CGI. Rock solid! :-) Watch the video bellow:
https://github.com/FiveTechSoft/screenshots ...
And use this Apache configuration file:
https://github.com/FiveTechSoft/mod_harbour/blob/master/cgi/windows/httpd.conf
and enjoy the power and robustness of mod_harbour CGI. Rock solid! :-) Watch the video bellow:
https://github.com/FiveTechSoft/screenshots ...
- Thu Oct 27, 2022 9:45 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: AYUDA Explicación. WebApp - ModHarbour
- Replies: 24
- Views: 3209
Re: AYUDA Explicación. WebApp - ModHarbour
... ficheros c:\Apache\logs\access.log y error.log
Asegúrate de que has copiado libcurl-x64.dll en la carpeta cgi-bin de Apache
y que en Apache\conf\httpd.conf tienes estas líneas:
<Directory C:/Apache/htdocs>
RewriteEngine on
RewriteRule ^([a-zA-Z]*)$ /cgi-bin/modharbour.exe?prg=$1 [NC,QSA ...
Asegúrate de que has copiado libcurl-x64.dll en la carpeta cgi-bin de Apache
y que en Apache\conf\httpd.conf tienes estas líneas:
<Directory C:/Apache/htdocs>
RewriteEngine on
RewriteRule ^([a-zA-Z]*)$ /cgi-bin/modharbour.exe?prg=$1 [NC,QSA ...
- Wed Oct 26, 2022 1:43 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: AYUDA Explicación. WebApp - ModHarbour
- Replies: 24
- Views: 3209
Re: AYUDA Explicación. WebApp - ModHarbour
Estimados, instalé un Apache httpd server de cero, para comenzar a probar,
corre perfectamente, veo el index.html que viene por defecto
pero aqui el problema, ni bien añado las lineas de abajo en el httpd.conf el apache server NO vuelve a arrancar
algo para orientarme??
gracias
<Directory C ...
corre perfectamente, veo el index.html que viene por defecto
pero aqui el problema, ni bien añado las lineas de abajo en el httpd.conf el apache server NO vuelve a arrancar
algo para orientarme??
gracias
<Directory C ...