Hi Roberto!

I got it working... I am really happy.
now I have to figure out, how to set the mime-type as uwsgi gives
everything out as text/html.

uwsgi loads the mime file, but gives back everything to apache with
text/html. Any ideas ?!


LD_LIBRARY_PATH=/usr/local/php5-emb/lib ./uwsgi --plugin
0:plugins/php/php --php-ini /usr/local/php5-emb/lib/php.ini --php-index
index.php --php-docroot /var/www/prestashop --master --socket
127.0.0.1:3030 --processes 4 --chdir /var/www/prestashop --mime-file
/etc/mime.types


Thanks a lott!


Am 19.09.2014 um 14:23 schrieb Roberto De Ioris:
> 
>> Hi Roberto!
>> I had taken a look in the Apache documentation, I don't know how to
>> accomplish that, any hint for me ?!
>>
>> My VhostEntry in Apache:
>> <VirtualHost shop.mystore.com:80>
>>  ProxyPass / uwsgi://127.0.0.1:3030/
>>  ProxyPassReverse / uwsgi://127.0.0.1:3030/
>> </VirtualHost>
>>
>> I have setup apache, because it was easier for me as yet have no idea
>> about nginx....
>>
>>
>> Thank you for your response.
>>
>>
> 
> Maybe it is easier to force it in uwsgi itself:
> 
> --route-run setmodifier1:14
> 
> (ensure internal routing is builtin)
> 
> Otherwise you could load the php plugin as the default one prepending it
> with 0:
> 
> --plugin 0:path_to_php_plugin
> 
> 

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to