-
Notifications
You must be signed in to change notification settings - Fork 435
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update configure.sh file to configure apache server
- To add configuration realted to mod_python in apache in Problem Solving Lab
- Loading branch information
1 parent
0c5eeec
commit f75eb15
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
cat configuration >> /etc/apache2/sites-available/default | ||
sed -i '/<\/VirtualHost>/i \ | ||
<Directory /var/www/html> \ | ||
AddHandler mod_python .py \ | ||
PythonHandler mod_python.publisher \ | ||
PythonDebug On \ | ||
</Directory> | ||
' /etc/apache2/sites-available/default.conf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters