1
vote
0answers
45 views

command line alias inside php exec

Is there any possibility to define shell alias for commands executed via php system, exec etc functions? I'm running multiple versions of PHP using fastcgi and I need to run the right version of PHP ...
1
vote
1answer
3k views

nginx, alias, php-fpm = File not Found

I'm trying to set up nginx with DAViCal. However, I'm getting a "File not Found" with a "FastCGI sent in stderr: "Primary script unknown" in the log. Looks like something is wrong with my aliasing but ...
0
votes
1answer
190 views

Openshift PHP app throws “404 Page not found error” with custom domain name

I have a PHP app on Openshift which is working fine with the native URL (e.g xyz-xy.rhcloud.com). Later I added an alias to the app(e.g, www.xyz.com) and I also updated the CName in my Zone file at ...
-2
votes
2answers
456 views

Apache Alias / VirtualHost run as different user

I tried to create an alias or virtual host to run as different user. Well below is part of apache httpd.conf that doesn't work. Or, is it even possible? <VirtualHost blah:80> user ...
0
votes
1answer
532 views

Apache Alias to access folder in different harddrive? (localhost)

Installed Appserv. Made a php. D:/Appserv/www/x/y/file.php Then I have a folder, like "E:/foldie" I want file.php to mess with that folder. I found this somewhere: <IfModule mod_alias.c> ...
2
votes
2answers
7k views

Alias using Nginx causing phpMyAdmin login endless loop

Recently I've been trying to set up a web server using Nginx (I normally use Apache). However I've ran into a problem trying to set phpMyAdmin up on an alias. The alias correctly takes you too the ...
0
votes
2answers
517 views

PHP scripts displaying raw source when accessed through an alias (apache)

I have a server with a few different domains on it (each in a separate VHost). Each VHost runs fine, executing PHP properly, etc. For the sake of example, two of the domains are foo.com and bar.com. ...