Windows Hosting That Allows File/Image Write Through Script
Mar 21, 2009
I have a website built with asp .Net with MS SQL database. The website have some pages that uploads images and files in some folders.
I have tried GoDaddy shared Windows hosting. But they don't seem to allow file upload using a script.
Then I tried GoDaddy Virtual Dedicated. The tech guy told me MS SQL would be part of the hosting. Later I find he lied, there is no MS SQL as part of it.
I am trying to find an affordable hosting that has MS SQL and also allows file upload using script.
I use a persistent and session cookie in order to help track return visitors, latent conversions and keyword tracking. My problem is that my hosting company, BlueHost, does not allow me to write the cookie data to my raw access log which would enable me to analyze this information.
Does anyone have any experience with using a script in order to get around this issue and write the cookie data to my log file....or as an alternative can people recommend a good hosting company which enables this functionality?
BlueHost has generally worked fine, so a work-around would be preferred, but if needed I may switch.
I have learned some bits of regular expressions for simple scripting, writing a .htaccess file is, uh, syntaxically daunting.
THE CASE :
The URLs of my site used to be of the form [URL] ... . They are now of the form [URL]......
I am trying to perma-redirect (301) the old format (affiche_fiche.php) to the new format (fiche.php) using a .htaccess.
So far all I have achieved is a hatred of punctuation signs. What's the correct syntax to have a .htaccess that does the redirect ?
THE CONTEXT : The format change took place more than six months ago, but the Google Webmaster Tools still spits 450 problems a day with 404s on URLs using the old format. I had assumed that these would just fade away, but they don't. So I guess that 301'ing them is cleaner. Or would be, if I understood the syntax.
I just upgraded our Plesk 10.4.4 to 12.0.18 (on Ubuntu 10.04, about to be upgraded to 12.04). Now I get the dreaded 'queue file write error' in postfix on message delivery.
It tries to open /usr/lib/plesk-9.0/postfix-queue (which is not there) in this block in master.cf:
Code:
plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames 127.0.0.1:10025 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10027 before-queue 127.0.0.1:10026 inet n - - - - smtpd -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions= -o receive_override_options=no_unknown_recipient_checks 127.0.0.1:10027 inet n n n - - spawn user=mhandlers-user argv=/usr/lib/plesk-9.0/postfix-queue 127.0.0.1 10026 before-remote plesk_saslauthd unix y y y - 1 plesk_saslauthd status=5 listen=6 dbpath=/plesk/passwd.db
And on top of that, If disable all the milters/proxy and just try to deliver to plesk_virtual directly, the e-mail just disappears. Postfix thinks it was delivered, but it is not.
I also tried piping some text through /usr/lib/plesk-9.0/postfix-local with the same parameters postfix gives it, but also then nothing. No error, no exit code, no message in maildir.
There are a bunch of fixes around for the queue file write error, but nothing works because the nature of my problem is different. There is a KB article around for Plesk 9, which can hardly be useful.
I tried restoring postfix-queue from the backups, but if I try to use that, the mail.log eventually says:
Code:
Jan 30 01:20:00 ytechosting /usr/lib/plesk-9.0/psa-pc-remote[6621]: Message aborted.
I also used /usr/local/psa/admin/sbin/mchk to no avail: the only change it makes to my master.cf, is adding an empty line. And, I suspect it uninstalled my psa-courier, because it was gone at some point, and mchk was the only thing I did after knowing courier was still there.
How can the postfix config refer to that postfix-queue when it's not there? Is this even a valid master.cf file for Plesk 12?
if i want to make image hosting such as allyoucanupload or imageshack , where hosting should i go to,... i was with hostgator and they suspended me for it.
I have developed website which will allow user to upload 1-2 photos and also allow to see other users photo and rate them. For this I have planned to go for VPS. I am also thinking of another alternative of using image hosting service, where I will keep all user photos on image hosting server and embed links given by image server in my webpage.
Now my question is.
1) Using image hosting is faster(respone time for each user) than VPS?
2) How exactly using image hosting works. when user request web page from my server, will my server go and fetch entire image from image server and then send final result to user brower?
where I can host images for my site. It will be thousands of smaller image like 5k - 30k. I am looking at free sites like imageshak. They say in their terms of service that I can host images for my site as long as I don't host all my images. So do you think that I could put like 20 thousand images on their site? These images would not get accessed too much so it won't slam their servers or anything.
My goal is to block hotlinking of fullsize images and display a image when they attempt it... but allow clickable thumbnails to be shown. For some reason the following isn't working...
My htaccess looks like this:
RewriteEngine On RewriteBase /images
#Allow if it's not from another website RewriteCond %{HTTP_REFERER} ^$ [OR] RewriteCond %{HTTP_REFERER} ^[url] RewriteCond %{HTTP_REFERER} ^[url]
#Allow if it's the hotlink.gif RewriteCond %{REQUEST_FILENAME} hotlink.gif [NC,OR]
#Pass through thumbnails or hightlights as-is RewriteCond %{REQUEST_URI} .thumb.jpg$ [NC,OR]
#Return an anti-hotlink gif in place of any visual media RewriteRule .*.(jpe?g|gif|bmp|png)$ css/images/hotlink.gif [R,L,NC]
I have started a new image hosting website and currently i alloted 7 GB Disk Space and 30GB BW. I know it will not be enough after the site get famous. So which host i can go for to be in a safer side with my image hosting website?
I have a solution on how remotely using IP KVM and WinPX to install images-based windows server.
But we need a solution that can automate this process.
This is because I need to provide a hight availably service, and if our web cluster is taking hight load I want to be able to clone a new server for master image and get it work in a cluster.
I own a social network generating over 50 million page views a month. Currently, I use only one massive server. I want to add in a new server just for image serving, as my current server is killing me with high bandwidth costs.
Server A runs the website and the logic Server B runs runs the images
What would be a good architecture between the two servers, given that they ARE NOT IN THE SAME hosting infrastructure (SoftLayer is not a great option if you want alot of bandwidth)
If a user changes his photo on Server A which runs the site, somehow Server B must be notified and gets a hold of the new image..... what would be the most technically feasible and optimum way to achieve this?
What's the best thing to go with? Is it a VPS or a Dedi?
I am currently on a shared package with a US company. However, I'd like to bring the site into the UK hosting domain, and perhaps closer to where I live.
Location in the UK isn't important.
What's the best thing to go with? VPS or Dedi? Or to remain on my US shared?
Currently at about 35GB bandwidth for this month. And the site's only been open 2 months. So will need over 200GB a month with room to expand.
Does Image hosting site requires a Powerful server or just enough bandwidth?
I am not sure if I should get a more powerful SERVER or increase my current BANDWIDTH Cap For people who has a Image/File hosting type website.. what kind of server are you using?
I have a dedicated that is oversized for the task (Q6600, 8gig RAM, Sata Raid-10 array), which is running a medium/small vBulletin site.
I have thought about providing free image hosting for the members, so I could have 100-300 people hosting sig images and other graphics on the server, which they in turn would link into forums and other places which could create quite a few requests for those graphics.
Is there anyway to quantify what type of load this static, image hosting would create?
The server currently is typically around .05 to .1 server load with nearly flatlined CPU's.
I used to use dedimove.com, but they have dropped off the face of the earth i moved to another host, id rather not say them name as i dont want to give them a bad name and have no complaints with their service other then the speeds are not very good...
im looking for a 100mbit port and under 100 dollars price range as the site really doesnt make any money... and at least 3 TB transfer...
I am a application/systems developer looking for a VPS hosting provider that would allow me upload a customized xen image that I could use as a template for additional VPSs.
Does anyone know of a hosting provider that could do this type of thing?
i looking for the servers (powerfull and cheap) i take this post in vps forum 2 day's ago but i understand that it is better for me to take the post in dedicated forum my friend's : 1-vpn server(with many ip)-->with high transfer + good performance(for start)
2-server for starting image hosting (with high or unlimited transfer + 100mbps )+atleast 50_60gb h.d.d
I recently changed my small image hosting website to a dedicated server.
My previous server was a cPanel.
Current server is Directadmin.
I've restored the database and files, however I've noticed that the URL upload (Where you input the URL to a image file, and the script grabs the image and reuploads on the server) doesn't seem to work.
Half of the admin panel is distorted and missing half of the options.
I recently worked on an issue involving a severe performance issue between "write back" and "write through" caching on the RAID/HD.
Long story short, we purchased 12 IBM x3550 M2s came with LSI SAS1068E/SR-BR10i (gimp redheaded stepchild of the MR series. No BBU, no onboard DIMM.) RAID controller and had very bad and inconsistent write throughput with it. Sometimes it writes out 300-400MB/s (dd test, I know... don't flame. I know dd is NOT a good test.), somethings as low as 30MB/s. The server is configured with 2.5" SATA 500GB on HW RAID-1.
From dmesg log it was default to "write through" on sda. I figured out via lsiutil, you can set the drives to "write back". Once we did that, the write performance is more consistent. NOTE, this enables write back on the SATA drives, NOT the controller itself.
I loop out lspci on all our VPS servers. Found out those with LSI (SAS 8344ELP) cards have sda set to "write through w/ FUA". Those are already all RAID-10s, and I have not heard a single complaint from any customer stating poor I/O performance.
I believe the 8344ELP do have a BBU, I can double-check with DC. The DC is on UPS as well. So that rules out the shortcomings of enabling write back caching.
I want to ask those of you using Xen (3.3 & 3.4). Do you guys have better I/O performance with "write back" or "write through" caching? I'm actually looking for real world results. Where you guys actually deployed production VPS server with clients on it.
My scrips are writing uploaded photos to the server's hard disk drive. In Linux, I've set up right permissions to the folder: allow write files, php user as the owner of the folder.
After I've transferred everything to Windows Server 2008 server, I've removed "read only" atribute from folders and files, but PHP scripts still can't write new files or change old files.
I wonder what should I do to fix it? Set PHP user as the owner (as in Linux)? If yes, how can I do it?
I have been contracted to resolve an issue for a Plesk installation. This installation in particular is receiving the 'no input file specified' error when attempting to access Horde webmail, and I believe it is because:
IIS is in FastCGI mode (as expected) Permissions are not allowing php to execute out of the expected path.
PHP is working for all other domains (there are multiple) on this account, it is just the horde PHP that is not functional.
I have tried contacting Skype support but received no answer.
I have tried running the commands --fix-webmail that were suggested in other threads, but they have no effect.
config.php to not have write permissions for everyone? I am running cpanel 10x with whm/extras Here is full report when i try and load fantastico scripts. You must secure this program. Insecure permissions on config.php While installing CSLH you might of needed to change the permissions of config.php so that it is writable by the web server. config.php no longer needs to be written to so please chmod config.php to not have write permissions for everyone. you can do this by UNCHECKING the box that reads write permissions for the file: