Categoria: Tutoriales

20.07.09

Permalink 01:49:12, by admin Email , 430 words, 77613 views views  
Categories: Varios (Miscelea), Tutoriales

How to install complete Apache2 + SSL + web2py with wsgi in Windows

In this little guide you will see how to install complete Apache2 + SSL + web2py using mod_wsgi in Windows

Lets go to install and setup an Apache2 Server with SSL connection and web2py framework in Windows Enviroment

Download and install WampServer

You can download from http://www.wampserver.com. WampServer contains Apache2 Web Server + MySQL database + PHP script languaje (I installed in e:\wamp)

Download and install web2py (source code)

Download from http://web2py.com. To install web2py, just decompress the zip into d:\ (thus having d:\web2py)

Activate ssl_module in Apache2

SSL module comes by default installed in WampServer

Install mod_wsgi

Copy mod_wsi to Apache modules directory

Load mod_wsgi

Load module, adding LoadModule wsgi_module /mod_wsgi.so line to httpd.conf

Go to apache bin directory

There must to be an openssl.exe file

Generate des3 key file

openssl genrsa -des3 -out myserver.key 1024

Remove rsa from key file, if not Apache2 server will complain in Windows (the good key file will be myserver.pem)

openssl rsa -in myserver.key -out myserver.pem

Now that we've created the private key, we need to generate the CSR like so

openssl req -new -key myserver.key -out myserver.csr

If you get errors about a missing conf file you can add the following option: -config d:\wamp\bin\apache\apacheX.X.X\conf\openssl.cnf
Make sure "Common Name (eg, YOUR name)" is your host name for the VirtualHost eg . mylocalhost

Generating a Self-Signed Certificate

openssl x509 -req -days 365 -in myserver.csr -signkey myserver.key -out myserver.crt
You can limit active days with -days option

Move files to conf\ssl directory

Create ssl directory inside Apache conf directory and move all myserver* files to there

Configure Apache to use SSL

Edit the http.conf file via WAMPs menu or directly here: C:\wamp\bin\apache\apache2.2.6\conf\httpd.cnf Locate the line Listen 80 and put to listen 443 port too
Listen 80
Listen 443

Now create a new virtual host like so (in addition to any normal port 80 entries)

1.- Typical sentences with document root and servername (use your certificate servername)
2.- Activate wsgi interpreter creating an Alias (all files from / and inside, will be handle with wsgihandler)
3.- Activate SSLEngine and put your certificate and key files path (the key file is the .pem file without rsa)

Add another virtualhost with port 80 if you want


Finally Restart Wamp and pray


28.06.09

Permalink 23:37:25, by Alex Fanjul Email , 57 palabras, 396 views views  
Categorías: Tutoriales, Manuales

Guía de conexiones, sintonización y ordenación de canales de la TDT

El objetivo de esta guía es orientar a aquellas personas que hayan adquirido un receptor externo de TDT en la realización de las conexiones con su televisor y con el resto de los equipos de que disponga, así como dar unas pautas para la sintonización y ordenación de los canales de la TDT.

15.12.05

Permalink 03:31:56, by admin Email , 3443 palabras, 6747 views views  
Categorías: Documentación, Tutoriales

Persistencia de Objetos Java utilizando db4o

Persistencia de Objetos Java utilizando db4o

Autor: Jim Paterson
Traductor: Juan Antonio Palos (Ozito)

1 . Introducción
2 . Bases de Datos Embebidas
3 . ¿Para qué es bueno db4o?
4 . Mismo API, Diferente Almacenamiento
5 . Un Ejemplo
6 . Almacenar los Datos
7 . Consulta Simple: QBE
8 . Actualizar y Borrar
9 . Un soporte de Consultas más poderoso
10 . ¿Qué más puede hacer S.O.D.A.?
11 . Conclusión

Puede encontrar la versión original de este artículo en Inglés en:

http://www.onjava.com/

=> Leer más...

Páginas: 1 2 3 4 5 6 7 8 9

MHProject v2.0

Blog referente al grupo de investigación y desarrollo (MHProject) realizado en la Universidad Pública de Navarra por más de 12 personas. El proyecto se basa en el desarrollo e investigación de aplicaciones y sistemas para Televisión Digital Interactiva desarroladas sobre Java y basadas en el estandard abierto MHP (Multimedia Home Platform).

Alejandro Fanjul Hola que tal soy Alejandro Fanjul, webmaster y fundador de MHProject, para cualquier consulta por favor dirigirse a: alex.fanjul@mhproject.org


Mi currículum vítae.(pdf)


Recomiéndanos en Twitter!!

Septiembre 2010
Lun Mar Mie Jue Vie Sab Dom
<< <     
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      

Añade el calendario de MHProject
a tu Google Calendar.

Buscar

MHPenlaces

PresentacionesDocumentaciónLinks (Enlaces)

Otros

Sindicar esta bitácora XML

What is RSS?

Who's Online?

  • Guest Users: 5

powered by
b2evolution

Creative Commons License
Esta obra está bajo una licencia de Creative Commons.