Graphite subdirectory installation
Hello,
Graphite installation guide suggests graphite-web installation as a virtual host for Apache.
For some reasons (one of them is ssl-only site - name-base virtual hosts +ssl is not the best config for Apache) I would like to install graphite to the subdirectory of an existing virtual host, something like https:/
I installed everything needed for graphite on my server and prepared apache configuration for subdirectory graphite installation. I was not able to start graphite.wsgi from /opt/graphite/conf , so I copied it to /opt/graphite/
With such an url https:/
"The requested URL /browser/header/ was not found on this server"
"The requested URL /composer/ was not found on this server."
The question is - is it possible to run graphite in such a way in principle? If yes, are there some examples of apache config for subdirectory installation?
My server is running under Debian squeeze (stable).
Apache: Apache/2.2.16 (Debian) PHP/5.3.
All apache2 subdirectory installations are configured by separate config files located in /etc/apache2/
My graphite config is following:
---------
Alias /graphite /opt/graphite/
<Directory /opt/graphite/
SetHandler wsgi-script
Options +ExecCGI
AllowOverride Limit Options FileInfo
</Directory>
WSGIDaemonProcess graphite processes=5 threads=5 display-
WSGIProcessGroup graphite
WSGIApplication
WSGIImportScript /opt/graphite/
# WSGIImportScript /opt/graphite/
# WSGIScriptAlias / /opt/graphite/
#Alias /graphite/content/ /opt/graphite/
<Location "/graphite/
SetHandler None
</Location>
Alias /graphite/media/ "/usr/share/
<Location "/graphite/media/">
SetHandler None
</Location>
<Directory /opt/graphite/
Order deny,allow
Allow from all
</Directory>
------------
Many thanks,
Alexandr
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alexandr for more information if necessary.