Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
107 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
118 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
177 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
1answer
276 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
85 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 ...
0
votes
4answers
305 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 ...
0
votes
0answers
72 views

Nginx: how to set a static site with its blog inside a folder

I'm setting up a web page that has a static part and a dynamic part. Suppose the site is in the root folder of my virtualhost, in this case, the structure is as follows /mysite/ ...
1
vote
1answer
584 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
253 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 ...
7
votes
2answers
236 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 ...
2
votes
1answer
1k 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.)
1
vote
0answers
405 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
302 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 ...
2
votes
2answers
2k 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
629 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
319 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 ...
1
vote
3answers
103 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 ...
0
votes
3answers
2k 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