Apache Cordova

Apache Cordova Framework enables to build mobile applications for mobile devices using JavaScript, HTML5 and CSS3 instead of relying on platform-specific languages. It enables wrapping up the web code depending on the platform of the device.

Browser does not accept certificate of my own website, even if it is signed by a trusted CA

Browsers should be able to determine if the webserver is really who he says and building up a secure connection to it. Even if there are no errors in the configuration, the webserver starts and the client gets the right certificate at the connection the browser says the connection cannot be trusted and is not secure. The certificate is signed by a trusted CA and the CA certificate is trusted by the browser.

Problem with loading of side pages on localhost

After the installation of wordpress on my localhost I had a problem when I wanted to check my side pages on localhost.Page not found constantly popped up.Only the main page could be loaded and checked.I figured out that I did not connect localhost properly and the solutions online were mostly unadequate.For someone who just started with usage of these technologies can be very irritating since the solutions are prety simple but yet you loose a lot of time trying to solve it . Bellow the solution is attached


How to run Apache And Nodejs Together without entering a port number

You have to redirect http://nodeapp.domain.com to http://nodeapp.domain.com:port. This can easily be done by using an http proxy. All you need to do is:

  • Enable the proxy by executing:
    >> sudo a2enmod proxy
    >> sudo a2enmod proxy_http
  • Add the following lines to your /etc/apache2/sites-available/default

    ServerName nodeapp.domain.com
    ProxyRequests off

    Order deny,allow
    Allow from all

    ProxyPass http://localhost:port/
    ProxyPassReverse http://localhost:port/

  • That’s all you have to do in order to setup your node app besides an apache webserver.
    Finally you only have to start your node app:

    >> sudo node nodefile.js //don't forget the "sudo" command otherwise you may get an error (503)

[I had this problem a while ago and solved it this way. You can find my original blog post at http://www.manuelmertl.com/running-apache-and-nodejs-together/]

How to run Apache And Nodejs together?

Today i was facing the problem to run nodejs on a server which is already running apache as webserver. So i had to choose a different port for the node app, but i didn’t want to enter an url like this http://nodeapp.domain.com:port. So how can I achieve this, without entering the port at the end of the domain?

Cannot start apache webserver after installation

After the installation the apache webserver didn't worked because it said that the port neccessary is blocked. But I didn't know why or which other program is using that port.

Using xampp with Windows 7 64 Bit

Xampp that I normally use for creating PHP-sites didn't worked at this computer with a 64 bit Windows 7. The Problem is that I needed it to make some changes in the source of a php-site and this with that new computer. First I had to install xampp which I did, but it didn't worked.

Enable https on Apache 2

How can I enable https on an apache 2 server? By default it is not enabled.

Forum-based application.

The solution is mainly based on the architecture of a forum. The main steps are as follows:

-Create database schema which includes tables: teacher; student; course; message; topic; timetable; room; module; These tables are connected through ID. For example, teacher table will connect to course table through course ID. The same things hold for other tables.

-Use HTML and JAVA Script to create web interface: assign each page to suitable view: student view, teacher view, courses view... This interface must provide user ability to handle correspond function of the system.

-Use JSP or Java Servlet to connect to database and make query, get information.

System specification
-Using MySQL database system.
-Apache for Web server
-Web client: Firefox, Chrome, IE.


Solution for problems with starting Apache

First has to be checked if some other daemon is bound to 80 port by using:nmap machinname which provides the active ports that are used - port 80 should be checked. If some other process is using the port 80 kill the process.

  • Most probably, Apache that comes with RH8 is already running whichcould be stopped by /etc/rc.d/init.d/httpd stop.
  • Also ErrorLog and CustomLog have to be checked in httpd.conf.to see if the log files exist and have correct permissions.



Subscribe to apache