.htaccess File

mod_harbour is an Apache module that allows to run PRGs directly on the web !!!

.htaccess File

Postby Otto » Sun Nov 15, 2020 8:09 am

What is the .htaccess File?
https://ithemes.com/what-is-the-htaccess-file/

The .htaccess file is a powerful website file that controls high-level configuration of your website.
On servers that run Apache (a web server software), the .htaccess file allows you to make changes
to your website’s configuration without having to edit server configuration files.

Code: Select all  Expand view

# --------------------------------------------------------------------------
# CONFIGURACION RUTAS PROGRAMA  (Relative to DOCUMENT_ROOT)
# --------------------------------------------------------------------------

SetEnv PATH_APP             "/examples/data/otto"
SetEnv DOCUMENT_ROOT        "/mercury-master/doc"


 SetEnv PATH_QRCODEDBF     "c:/www/htdocs/mh_myquickinfo"

SetEnv PATH_LANDINGPAGEDBF  "c:/www/htdocs/LP/kundeB"






How to access from mod harbour?
Code: Select all  Expand view

cQrcode =  AP_GETENV( 'PATH_QRCODEDBF' )
cLanging = AP_GETENV( 'PATH_LANDINGPAGEDBF' )
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Re: .htaccess File

Postby Antonio Linares » Mon Nov 16, 2020 7:37 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to mod_harbour

Who is online

Users browsing this forum: No registered users and 9 guests