Hola Carles
estoy tratando de instalar mercury pero no me funciona
mod_harbour funciona, cuando hago
http://localhost:81/samples/info.prgy el navegador me arroja esto..
- Code: Select all Expand view
Platform
OS Windows 10 10.0
Harbour Harbour 3.2.0dev (r2004201301)
Build date May 24 2020 11:54:58
Compiler Microsoft Visual C 19.21.27702 (64-bit)
Capabilities
RDD DBF, DBFFPT, DBFNSX, SIXCDX, DBFCDX, SDF, DELIM, DBFBLOB, DBFNTX
Version Harbour
00 HB_VERSION_HARBOUR Harbour 3.2.0dev (r2004201301)
01 HB_VERSION_COMPILER Microsoft Visual C 19.21.27702 (64-bit)
ahora con mercury hice esto como dice el manual
estructura de directory
- Code: Select all Expand view
/htdocs/go/
/lib/mercury/mercury.hrb
/lib/mercury/mercury.ch
/include
/src/controller
/src/model
/src/view
archivo .htaccess que esta en /go
- Code: Select all Expand view
# --------------------------------------------------------------------------
# CONFIGURACION RUTAS PROGRAMA (Relative to DOCUMENT_ROOT)
# --------------------------------------------------------------------------
SetEnv PATH_URL "/go"
SetEnv PATH_APP "/go"
SetEnv PATH_DATA "/go/data/"
# --------------------------------------------------------------------------
# Impedir que lean los ficheros del directorio
# --------------------------------------------------------------------------
Options All -Indexes
# --------------------------------------------------------------------------
# Pagina por defectos
# --------------------------------------------------------------------------
DirectoryIndex index.prg main.prg
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.prg/$1 [L]
</IfModule>
http://localhost:81/go/- Code: Select all Expand view
Error: Unknown or unregistered symbol
operation: AP_HEADERSINCOUNT
called from: HB_HRBLOAD, line: 0
called from: ..\source\exec.prg, LOADHRB, line: 159
called from: ..\source\exec.prg, (b)REPLACEBLOCKS, line: 133
called from: ..\source\exec.prg, REPLACEBLOCKS, line: 133
called from: ..\source\exec.prg, EXECUTE, line: 55
Source:
algo falta q no logra descifrar