Questions tagged [paths]

21 questions
6
votes
1 answer

Nginx proxy_pass and absolute paths

I'm trying to run some nodejs app on a server (Ubuntu 14.04), using Nginx and i'm almost done. Here's my server configuration (/etc/nginx/sites-available/default): server { listen 80; server_name my_domain.com; location /test1 { …
5
votes
2 answers

Apache - Include conf Files Relative to ServerConfigFile (-f arg)

I want to use the -f command-line option for the Apache server so that I can store the conf files in a separate place (a data diectory) from the server binaries. The problem is that I use the Include directive to separate and organize the…
Synetech
  • 908
  • 1
  • 12
  • 27
3
votes
1 answer

Inetd / xinetd isn't working under cygwin, why?

I am trying to use xinetd (or inetd) with netcat to act as a TCP proxy. This setup works on Linux without issue. Under Cygwin, either as a service or from the a Cygwin command line, the (x)inetd fails to open netcat, with the error "no such file or…
2
votes
1 answer

cannot send long path filename (UNC path) to printer

i'm using long path names with UNC (UNI), for example: \\?\c:\tmp......\file1.prn but when i try to send the file to a printer on windows command-line, for example with copy/print command, it shows : for copy - 0 file(s) copied. for print -…
gadh
  • 21
  • 2
2
votes
1 answer

Running npm via sudo (not as root, not as self-user) can't find npm where root or self-user can

I have a makefile, which I use to sudo make install for the parts of my app that generally require root installation. Unfortunately, this results in a strange situation where sudo doesn't have access to npm, while both root and my user do have…
Kzqai
  • 1,278
  • 4
  • 17
  • 32
2
votes
1 answer

How do I configure relative paths for puppet?

I've tried to google this, but haven't had any luck. My goal is to have a packaged directory with a puppet file and an accompanying directory holding file resources where I can just type puppet apply setup.pp and then puppet will do its thing. I…
Son of the Wai-Pan
  • 727
  • 4
  • 11
  • 25
1
vote
0 answers

Paths Generated by PHP Applications Incorrect In Fedora nginx php-fpm Setup

I have been having several issues with certain PHP apps lately on my Fedora nginx + php-fpm setup. I originally had this issue with Owncloud, and created a question, without much luck, but I am realizing it is a global problem. I tried installing…
MetaNova
  • 171
  • 1
  • 6
1
vote
1 answer

Why application root "~" resolves to site root "/" in ASP.NET?

I have an ASP.NET Web Forms site developed under Visual Studio 2012. There is a master page with navigation bar and links to CSS tables. Bot are specified using the application root operator "~" <%:…
Mikhail
  • 129
  • 1
  • 7
1
vote
5 answers

Finding where something is installed on Ubuntu

I am trying to find where someone has installed a software package, and I can not. Is there a good way of finding that other than running a grep on the entire file system? I am running Ubuntu and looking for an installation of a triple-store…
Genadinik
  • 1,083
  • 4
  • 18
  • 38
1
vote
3 answers

installing mysql via apt-get with non-default data and logs directories

Is there a way to install mysqld via apt-get and have it a non default path for the data files? I know I can install it with the defaults and then move stuff (I've done that) but then I have about a dozen different places I need to update things…
BCS
  • 1,065
  • 2
  • 15
  • 24
1
vote
1 answer

how can i get the install path from yum?

i install several application using yum in CentOS now i like to see the installed application path's where each component yum downloaded got installed how can i do that ?
user61104
  • 523
  • 1
  • 8
  • 16
1
vote
1 answer

Virtual Directory Path in HTML Files

I tried to create a development server by copying a website from one host to a second different host, but the servers seem to handle virtual paths differently. On the main server this works:
JMC
  • 496
  • 6
  • 21
0
votes
2 answers

How to upgrade the version of Python used by Apache?

On a Red Hat box, I upgraded Python from 2.3 to 2.6.4 and changed the symlink to python so when I type in python the 2.6.4 interpreter comes up. However my .py file works from the command-line, but not in the browser. It seemed like a sys.path issue…
Pranab
0
votes
4 answers

How to find out where or if MYSQL5 logs are stored on a machine WHM/Cpanel

I have a WHM/Cpanel re-seller hosting account on a virtual private server (Linux). I have root access to the machine via SSH I am trying to locate a file that contains information that will help me to determine which users have accessed what db…
moi
0
votes
2 answers

!Linux standard path information, similar to windows path variables, like %AppData%, %UserProfile%, etc.?

Is there, in linux variables, or some other means to find per/system paths, similar to windows path variables, like %AppData%, %UserProfile%, %AllUsersProfile%, %ProgramFiles%, %SystemRoot%, %SystemDrive%, %Temp%, %Tmp%, etc.? Update: OK, I've found…
igoryonya
  • 185
  • 1
  • 2
  • 14
1
2