Sorry for slow reply. Google has not been sending through moderation
messages properly, plus am holidays right now.

I would suggest if you haven't worked this out yet to watch:

http://code.google.com/p/modwsgi/wiki/WhereToGetHelp?tm=6#Conference_Presentations

which steps you through hello world example. You should then be able
to adapt that process to your own requirement.

Also ensure you are reading:

http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide

Graham

On 25 January 2012 07:33, Al <[email protected]> wrote:
> Hi All,
>
> I want to use the script located at :
>
> https://github.com/flebel/cisco79xx_phone_directory
>
> I have been following the instructions and have acheived the
> following:
>
> 1. Apache running
> 2. cisco79xx_phone_directory.py script downloaded to /var/www
> 2. Downloaded google contacts and generated contacts.xml in /var/www
> 3. Installed mod_wsgi (as a package - have not done any configuration)
>
> I clearly need to do more configuration. After some reading this is
> what I think I need to do:
>
> (1) Edit apache.conf to include:
> WSGIScriptAlias /cisco79xx /usr/local/www/wsgi-scripts/cisco79xx.wsgi
>
> (2) mkdir /usr/local/www/wsgi-scripts or should that be var/www/wsgi-
> scripts since I dont have /usr/local/www ?
>
> (3) Create cisco79xx.wsgi which should reside in the directory named
> in (2) and contain the line:
> from cisco79xx_phone_directory.py import app as application #do I
> need .py?
>
> (4) restart apache?
>
> Anyone able to confirm this?
>
> Cheers
>
> -Al
>
> --
> You received this message because you are subscribed to the Google Groups 
> "modwsgi" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/modwsgi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en.

Reply via email to