The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
25 views

Nginx and multiple applications

I am new to nginx, and here what I am trying to achieve : I have only one domain name. I want to have several applications, accessible with something like : mydomain.com/app1 mydomain.com/app2 etc ...
1
vote
1answer
35 views

Can I have two (or more) Apache VirtualHosts separated by subdirectories?

I think this is a simple question, but let me explain better. I have the following development environment: Ubuntu Server 12.04 LTS; Apache 2.4; PHP 5.5; Everything is working fine, except the ...
1
vote
0answers
25 views

Composer runtime error when deleting subdirectories

I am running 'composer install' on my server, and then using the script feature to delete all subdirectories called '.git' but I am running in the following composer error. Delete all .git dirs find: ...
1
vote
0answers
22 views

ASP.NET Webapp Works as Full Website, but not as Application

I have a fairly simple ASP.NET (targeting.NET 4.0) web app, which is used as a dynamic request form. I have tested this and it is working as a Web Site within IIS 7 running on Windows Server 2008 R2. ...
0
votes
0answers
17 views

Nginx , Wordpress as principal other website is subdirectory

I have set wordpress with nginx, and added a scipt for questions in a subdirectory , this script is using PhPCake so when I'm going throug an url like /questions/ask it redirects me to the wordpress ...
-1
votes
2answers
49 views

How to load my app from client's domain name

I am building a SAAS product which is hosted on abc.com and i will have few clients with domains client1.com, client2.org, client3.in etc. Now i want to serve my application to each client on their ...
0
votes
0answers
24 views

Phusion Passenger Apache vHost to Sub Directory

I have a rails app that we're trying to migrate t our servers for DNS purposes. The app generates a user url ex ourapp.com/user1. Say user one wants to point user1.com to their respective ...
1
vote
0answers
25 views

lighttpd access control affecting subdirectory trees sibling to a htpasswd file

Suppose I have a htdocs directory tree served by lighttpd htdocs htdocs/foo htdocs/foo/spam htdocs/foo/eggs htdocs/foo/eggs/stirred htdocs/foo/eggs/fried htdocs/bar htdocs/bar/bacon Now I'd like to ...
0
votes
1answer
56 views

find all end subdirectories in a tree

given the following structure: oz123@debian:~/ $ tree . . ├── a │   ├── a1 │   ├── a2 │   └── a3 ├── a1 │   ├── a11 │   ├── a12 │   └── a31 ├── b │   └── b1 │   ├── b11 │   │   └── b21 │   ...
0
votes
0answers
107 views

WP in subdirectory : redirect loop error due to htaccess?

I have a fresh Wordpress install in a subdirectory: /blog/ I visit my Wordpress site like this: http://www.example.com/blog and posts like this: http://www.example.com/blog/category/postname In ...
0
votes
1answer
41 views

rsync synchronizing files only without creating folders on destination

Is it possible with rsync to not create directories on destination? MY SOURCE: a/ a/x.txt b/ b/y.txt b/c/g.txt MY WANTED DESTINATION: d/x.txt d/y.txt d/g.txt Is there any way to do this with ...
0
votes
1answer
20 views

Setting up multiple applications on one server within directory paths

I am working with node.js and I am trying to figure out a way to have a rather different server configuration. I would like to have three "apps" run. index app1 app2 Index can run on port 80, and ...
4
votes
1answer
769 views

Strategy to isolate multiple nginx ssl apps with single domain via suburi's?

Warning: so far I have only learnt how to use nginx to serve apps with their own domain and server block. But I think its time to dive a little deeper. To mitigate the need for multiple SSL ...
1
vote
1answer
147 views

Domain mapping subdirectory to external domain

I'm running a Wordpress multisite install where the blogs are created in subdirectories - e.g. www.mydomain.com/blog1, www.mydomain.com/blog2 I need to clarify what I think is and isn't possible with ...
0
votes
3answers
877 views

500 error after dragging joomla website out of subdirectory

I recently dragged a website I built with joomla out of a subdirectory and now the whole website just shows a 500 internal error, can't even log into the backend. I've already tried changing the log ...
0
votes
2answers
326 views

How to rewrite all routes not going to a specific subdirectory to a different subdirectory in nginx?

My site content (which is currently kept in /public_html loosely) is under a Mercurial repository, so I would like it to have its own directory. Since my wiki is under /public_html/wiki, I am trying ...
-1
votes
2answers
246 views

How download all files, directories and subdirectoires with wget [closed]

I have some links such as: http:/foo.com/1/1/1/1.jpg http:/foo.com/1/2/2/2.jpg http:/foo.com/1/3/3/3.jpg ... How I can I download all files and directories with wget?
1
vote
1answer
164 views

Relative path incorrect in the view layer when hosting a rails3 app in a subdirectory using passenger and apache

I want to host multiple Rails apps on a multiple server using sub-directories. And have encountered some relative path problems. I have made a symbolic link to the app's public directory and placed ...
3
votes
1answer
79 views

How can I enlist the content of a zip archive, but only the first level?

I have a big zip file and I want to know what it's contain. I know I can run: zipinfo file.zip but the output is too verbose and there are a lot of files in the sub-directories. I want to see a ...
0
votes
1answer
560 views

Wrong urls at wp-admin at wordpress with subdirectory and proxy

I am using apache2 and mod-proxy to integrate wordpress blogs into subdirectories of my TLD. Main site: example.com Blog1: [http://example.com/blog] Blog2: [http://example.com/other-blog] Apach2 ...
1
vote
1answer
263 views

Wordpress htaccess redirect destroys my non-www to www redirect

In my root domain I have an .htaccess to redirect non-www to the www, and to redirect to a subdirectory (containing a temporary website). This is done using the following code: Options ...
2
votes
1answer
2k views

FTP - How to transfer a directory with multiple sub-directories?

I need to transfer a few gigs of files from server A to B. I own SSH access to server A, but I have only FTP access to B. Since I can not send one .tar file from A to B, for the reason that I can not ...
0
votes
2answers
1k views

Change the document root of a parked domain?

I have run into a problem which is that my web host doesn't appear offer addon domains. I currently have a domain name pointing to my name servers. I went into cPanel to add an addon domain that ...
3
votes
4answers
219 views

Migrating a subdomain to a subdirectory, whilst running on a separate server

I'm currently working on a site that's hosted across two different servers. One server hosts the main site (example.co.uk), the other server hosts an ecommerce application (Magento) and is currently ...
1
vote
4answers
2k views

Tar directory contents without parent and exclude subdirectories/files

Simplified directory structure: /root/test /root/test/dir1 /root/test/dir2 /root/test/dir3 /root/test/dir4 I want to tar /root/test so that when I extract the archive I get dir1 and dir2. I want to ...
3
votes
2answers
2k views

WordPress on a subdirectory with Nginx: access to dashboard?

I want to setup a WordPress blog, but not with a typical configuration: The main site is at www.example.com. As of now, it just has a static index.html file with an image, we will use probably an ...
0
votes
3answers
440 views

mod-rewrite: what's wrong with this simple rewrite to redirect to a subdirectory?

the root directory http: // www .mydomain .com (SF won't let me post hyperlinks - rep is too low) has a catchall index.php page in it, and an .htaccess file. Within this root directoy I have a ...
13
votes
2answers
1k views

Difference and correct usage for /tmp and /var/tmp

I haven't put much thought into this until now, but it seems odd that there is a /var/tmp and /tmp directories for most of the linux distro's I routinely use ( Ubuntu, Centos, Redhat ). Is there any ...
11
votes
1answer
8k views

logrotating files in a directories and its subdirectories

Is it possible to get logrotate to consider logfiles in a directory and all its subdirectories? (i.e. without explicitly listing the subdirectories.)
2
votes
1answer
841 views

Redirecting subsite on same domain to other IIS using HTTPS

I've seen many similar questions (and answers) on this subject, but none seem to be on exactly the same situation I am facing. Which is weird since I don't think it is that special, so forgive me if I ...
5
votes
1answer
471 views

how to pre-create directories on linux for file storage

looking for a way to pre-create directories on linux to be used to store a large number of files. We will be generating file ids using a GUID - I need to keep a copy of these files on a linux web ...
3
votes
2answers
3k views

How do I configure IIS 7 (discount asp.net) to point subdomains at application subdirectories?

I have an discount asp.net account, which uses IIS 7 and I want to configure subdomains to point at specific applications on the site. For instance: 's1.site.com' would run the application at ...
2
votes
1answer
1k views

Having a sub-directory pointing to another server?

How can I have a sub-directory under a domain point to another server, for example loading http://www.xyz.com/myscript/ should load the script located on a different server than xyz.com, this can be ...
1
vote
1answer
365 views

Apache outputs all urls of a second domain as a subfolder of the primary domain name

would anyone be able to possibly give me some guidance.. Basically, i have a 'shared hosting' account with a large internet hosting provider, and my account lets me have multiple seperate domains ...
2
votes
3answers
139 views

“One-sided” diff

I've got two large directory trees--think years of client work for an agency. One is old and out of date; the other is larger and in current use. I'd like to delete the former, but I want to be sure ...
1
vote
3answers
3k views

Point domain name to subdirectory with .htaccess

I have a server under one main domain, and I want to point another domain to /example/index.php to make another site. Is there anyway i can do this with .htaccess? cheers