Breaking News
Home / Tag Archives: Apache

Tag Archives: Apache

How to setup pretty urls in Yii?

For web applications, the bootstrap file is typically index.php. The same is the case of Yii framework too. The following snippet can be added to apache.conf or defined in .htaccess depending on your hosting setup. This redirect rule convert the routing patterns into pretty urls. RewriteEngine on # prevent httpd …

Read More »

How to check if Apache WSGI module is loaded in Ubuntu?

Answer To check if WSGI module is actually installed excute the following command. $dpkg -l libapache2-mod-wsgi Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name                                                                     Version                                                                  Description ========================================== iU  libapache2-mod-wsgi                                                      1.3-1                                                                    Python WSGI adapter module for Apache[pb_builder]

Read More »

How to proxy static content via Apache Server?

apache-logo

Basically the content in a website can be categorized into to categories: Dynamic content – generated by using of Web Sever/Application Server running JSP, Servlets etc. This content is dynamically assembled and severed to the browser hence called as Dynamic. Static Content – as the name implies this content does …

Read More »
Advertisment ad adsense adlogger