Showing posts with label apache. Show all posts
Showing posts with label apache. Show all posts
Python for Windows
http://www.imladris.com/Scripts/PythonForWindows.html
Using mod_rewrite to hide the .py extension of a Python script accessed on a web browser
Unofficial Windows Binaries for Python Extension Packages: http://www.lfd.uci.edu/~gohlke/pythonlibs/
Using mod_rewrite to hide the .py extension of a Python script accessed on a web browser
Unofficial Windows Binaries for Python Extension Packages: http://www.lfd.uci.edu/~gohlke/pythonlibs/
.htaccess: Options not allowed here
It's worked on ubuntu (LAMP). I edited /etc/apache2/mods-available/userdir.conf and add Options to AllowOverride. Then restarted apache2 service.
Labels:
apache
HTTP Apache 2 doc
http://doc.ubuntu-fr.org/apache2
/etc/apache2/apache2.conf
/etc/apache2/mods-available/userdir.conf
Log file
tail /var/log/apache2/error.log
/etc/apache2/apache2.conf
/etc/apache2/mods-available/userdir.conf
Log file
tail /var/log/apache2/error.log
Labels:
apache
Per-user web directories
You must enable userdir module. To do this you should type in a terminal
Code:
$ sudo a2enmod userdir
http://ubuntuforums.org/showthread.php?t=734373
http://httpd.apache.org/docs/2.0/howto/public_html.html
http://httpd.apache.org/docs/2.2/howto/cgi.html
Code:
$ sudo a2enmod userdir
http://ubuntuforums.org/showthread.php?t=734373
http://httpd.apache.org/docs/2.0/howto/public_html.html
http://httpd.apache.org/docs/2.2/howto/cgi.html
Labels:
apache
Python and Apache2
/etc/apache2/mods-available/userdir.conf
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +ExecCGI
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
AddHandler cgi-script .cgi .pl .py
</Directory>
</IfModule>
<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec +ExecCGI
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
AddHandler cgi-script .cgi .pl .py
</Directory>
</IfModule>
Labels:
apache
Ubuntu Linux Start / Restart / Stop Apache Web Server
Task: Start Apache 2 Server
# /etc/init.d/apache2 start
or$ sudo /etc/init.d/apache2 start
Task: Restart Apache 2 Server
# /etc/init.d/apache2 restart
or$ sudo /etc/init.d/apache2 restart
Task: Stop Apache 2 Server
# /etc/init.d/apache2 stop
or$ sudo /etc/init.d/apache2 stop
Labels:
apache
Subscribe to:
Posts (Atom)