Tagged Questions
0
votes
2answers
50 views
How to set up a multi-user shared hosting environment?
Bear with me, this is going to be tough to word clearly.
Let's say I have a VPS account and I want to resell, and host a bunch of people on my server, giving them their own separate domains. Each ...
-1
votes
1answer
70 views
Apache VirtualHost File System Security on a Shared Host [closed]
I am hosting my Wordpress blog on a shared server (not a commercial one). It's a Ubuntu Linux server with Apache, PHP, MySQL. Virtual host files are stored in separate folders under /home.
All ...
1
vote
1answer
32 views
Rewrite: subdomain as username PHP on shared hosting
I have the following configuration:
I've setup A record:
*.mywebsite.com IN A [IP ON HOSTIN - shared]
The rewrite rule for grabbing the subdomain looks like this:
RewriteCond ...
1
vote
3answers
364 views
Isolating Apache virtualhosts from the rest of the system
I am setting up a web server that will host a number of different web sites as Apache VirtualHosts, each of these will have the possibility to run scripts (primarily PHP, possiblu others).
My ...
-1
votes
2answers
81 views
How do I send a newsletter to 2000 emails on a shared server? [closed]
Consider this scenario:
I'm running Magento 1.4 Community Edition
I have a newsletter that I'm sending out 2 times per week
My list has 2000 subscribers
I'm on a shared hosting plan (linux on apache ...
3
votes
1answer
244 views
How to disallow use of disable_functions in?
I'm obviously not the first one to have this problem, but I cannot not find an answer to this situation.
I want to lock down PHP a bit, more specifically the use of disable_functions. The environment ...
1
vote
1answer
723 views
How to secure Apache for shared hosting environment? (chrooting, avoid symlinking…)
I'm having problems dealing with Apache configuration: the problem is that I want to limit each user to his own docroot (so, a chroot() would be what I'm looking for), but:
Mod_chroot works only ...
1
vote
1answer
77 views
mod_wsgi with no access to apache config
Provided that on the server I have:
mod_wsgi loaded and enabled
all-powerful htaccess,
can I use mod_wsgi without the need to edit the global apache config files? I don't have administrative ...
0
votes
1answer
121 views
.htaccess RewriteRule works on addon domain but not root domain
I made a .htaccess in an addon domain, which successfully hides the wp-admin folder:
# Hide wp-admin
<ifModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_USER_AGENT} ...
0
votes
1answer
58 views
Updating the same .htaccess file on multiple sites
I manage 400+ wordpress blogs across 8 shared hosting accounts and I'm looking for a simple way to distribute changes to certain files.
In particular, I want to push out the same .htaccess file to ...
1
vote
1answer
290 views
How can I configure my User/Group/Permission setup for shared webhosting on linux to prevent permission between webserver and user accounts?
I have one Linux LAMP webserver (Ubuntu) with some websites on it.
They all run within the same apache2 instance and are accessible by different vhosts.
Most of them are run by myself, but I also ...
0
votes
1answer
713 views
Does Apache set a max execution time of its own?
I need to run a PHP script on my shared Linux hosting (LAMP). I estimate the script to take about an hour to execute.
in the PHP .ini file, I have set
max_execution_time = -1
So PHP will let the ...
1
vote
1answer
158 views
How can I see my DirectoryIndex order on a shared web server?
How can I view the default DirectoryIndex order? Is there a command I can run?
I'm on a shared web server so I can't view the configuration file. Is the default documented anywhere? My Google-fu is ...
-2
votes
1answer
127 views
Godaddy shared apache and php settings [closed]
My application will need mod_rewrite and AllowEncodedSlashes enabled on httpd.conf. I also need to know what php extensions are enabled.
What are the default settings?
-1
votes
1answer
184 views
how to remove 403 error
Everytime I try to access this url http://mysite.com/somefile.php?url=http://google.com
I get Forbidden error, how I can solve this issue using .htaccess file. I am on shared hosting so all I can do ...
1
vote
1answer
43 views
On my hosting plan I cannot have access the Internal Server errors
I am using a share hosting with IWeb. And they hide all the Internal Server errors. But I need them to know what is causing my Apache Script to crash.
Is there any way to catch a HTTP 500 Internal ...
2
votes
2answers
435 views
Distribution/setup for shared web hosting
I'm currently administrating a Gentoo server hosting a few dozen websites for friends and people with common interests. I may be moving to a new server soon, and with that comes the possibility to ...
0
votes
1answer
202 views
Shared Hosting: How to Protect from abuse and ~ wildcard folder access? ex domain.com/~username
Many times google alert me that abuse content or phising is installed in my website.
But looking about it there is nothing on my public folder on my server. I see that the referral url is on my ...
1
vote
3answers
4k views
How do I configure multiple PHP.INI files on shared host running Apache?
I would like to use a different PHP.INI file for each site hosted on a shared server.
I have modified the Apache vhosts file for each of the sites, adding the lineā¦
PHPINIDir /srv/www/my-domain.com/
...
0
votes
1answer
272 views
mod_rewrite rules to run fcgi for different subdomains
On my shared hosting server (Hostmonster) I have django (actually pinax) setup so that a .htaccess mod_rewrite rule rewrites the request to a pinax.fcgi file:
RewriteCond %{REQUEST_FILENAME} !-f
...
0
votes
1answer
363 views
How can I test for AllowOverride FileInfo in Apache2?
I'm running a web site under a shared hosting environment (it's Dreamhost, if it makes a difference) and attempting to use SetEnv from within a .htaccess file.
Everything else in the .htaccess file ...
1
vote
1answer
80 views
What are secure ways of sharing a server (ssh+LAMP) with friends?
What is the best way to share a virtual server with friends? More precisely, I have the following assets:
A virtual private server (Debian Lenny) with root access for myself, running...
SSH
apache2
...
2
votes
2answers
385 views
multiuser PHP virtualhosting environment and security
I'd like to setup a multiuser PHP virtualhosting environment.
However, here comes my big concern. Users could use the PHP filesystem functions to access the other users directories, thus read the ...
1
vote
1answer
164 views
Shared hosting: using a custom Perl version for CGI
I'm trying to revamp some nasty old sites on a cheap shared host using one of these new-fangled Perl web frameworks (Dancer). I had module dependency problems with the existing Perl install (5.6.1) ...
1
vote
3answers
482 views
View httpd/lighttpd modules that are installed on shared hosting
I don't have access to the httpd.conf file on this shared host, but I wanted to see which modules are enabled/installed. Is there a (easy) way to find out without access to the httpd.conf file? For ...
1
vote
2answers
610 views
What is the deal with WordPress and UNIX permission problems?
I'm setting up a couple of wordpress installs and am habitually running into permission problems. I suspect the main problem is that I'm not a shared hosting environment, just a plain Ubuntu VM and so ...
3
votes
2answers
640 views
How can I override global PHP.INI settings on shared hosting?
I have sharring hosting account on Linux Apache PHP with JustHost.
In my account exists a global php.ini that only admin of hosting company can access.
My problem is that when I run php script the ...
0
votes
1answer
114 views
Shared Hosting, UID, GUID set as Apache
I'm on shared hosting and today i discovered there are some backdoor script.. in .htaccess and a php file.
So i went to check via FTP, cannot edit nor delete.
So i checked with direct admin.. the ...
2
votes
1answer
372 views
Host Primary Domain from a subfolder
I am having a problem making a sub directory act as the public_html for my main domain, and getting a solution that works with that domains sub directories too.
My hosting allows me to host multiple ...
0
votes
2answers
371 views
Apache 404 Error When 'index' is in the Path
I have a long standing problem with mod_rewrite and 1and1 shared hosting (hope that being shared hosting does't get this migrated to 'sharedserverfault'). Everything about the rewrite rules work fine ...