Apache :: CIFS File Share To Store Images

Mar 28, 2014

I recently started building out a new network rack to provide a production web site. The new equipment stack includes a disk array providing a CIFS file share to store images to be served up by Apache.

I have had zero luck in getting Apache to properly access the imagestore from the network share. I've read more Google pages on this subject today than I can count, but I am still not having any success getting this working right.

I'll do my best to explain the configuration.

I have an ESXi host running several virtual machines. Each machine needs to be able to access the shares. Each host has multiple network interfaces, each connected to a separate subnet. The virtual machines are running Windows Server 2012 Datacenter edition.

The disk array is file mode access, with NFS and CIFS shares. It has interfaces on both subnets that each VM can reach. I have established a stand alone CIFS server, with the shares configured. They are accessible from the VMs.

I have mapped the share to a drive letter on the VM client, and it works properly from the logged in account. I have full control over files on the file system (create, modify, delete).

The VM has Apache 2.4.9 installed.

Things I've tried with no success:

-created a symlink to the CIFS mounted drive into the webroot directory
-added an alias to the CIFS mounted drive
-added the aliased directory using the <Directory> directive
-added the alias and directory directives using UNC references

I am seeing errors like "path is invalid" mostly, but when I try to add the mapped drive (f or the UNC referenced directory, the Apache service won't start.

I added a separate user for the Apache service, and added it to the group that has privileges to talk to the share, still didn't work.

View 1 Replies


ADVERTISEMENT

Best Medium To Store Drive Images On

Jan 11, 2008

I need a medium of some kind to store my backup drive images of a windows 2003 standard x64 server. I will be taking DriveImage XML images every Sunday. The medium must have a minimum capacity of 250gb.

I am wondering what is the best/most cost efficient option? My budet is around $500.

I have heard tape and usb external drives.

Can you provide specific models, costs, pros/cons of each technology and product?

View 0 Replies View Related

Apache :: 2.0 Wrote Error Log File In Virtual Store But Not 2.4

Jan 30, 2015

We use Apache as part of a 'consumer' software which as been working fine with Apache 2.0.64 (running as a 'regular' user). We want to transition to version 2.4, but it seems to be working a little bit differently than the 2.0 version.

In httpd.conf, we have "ErrorLog logs/error.log". With version 2.0, the error.log file is created in the "...AppDataLocalVirtualStore..." path (since user cannot write to 'Program Files (x86)' were it is installed), but with version 2.4.10 we only get an "Access is denied. AH00015: Unable to open logs" error.Is this a known difference between 2.0 and 2.4.

View 4 Replies View Related

Setting Up A File Share In A VPS

Jan 9, 2009

I'm sure you all may have heard this question before, so I'm sorry if I'm beating a dead horse...just can't seem to find a good answer. I am interested in setting up a fileserver / fileshare on a VPS so that I can create a mapped drive on a windows PC which points to the fileshare on the VPS. I have a client who currently uses a physical server to perform this task, however this physical server is under-utilized and somewhat unnecessary. I mentioned the possibility of moving to a VPS and he seemed interested.
I decided to purchase an entry-level account from VPSLAND to use for testing purposes prior to moving forward with the project. I can't seem to get anything to work so I'm looking for ideas.

I purchased a VPSLAND Windows-based EZ-series VPS with Plesk and all the other bundled goodies.

View 2 Replies View Related

Windows - Realtime File Share Replication

Sep 11, 2009

I'm trying to find a low cost solution for realtime file share replication in a windows environment.

It doesn't look like there are any open source windows cluster filesystems around, so the only viable option I found would be running OpenFiler in a replication cluster on Hyper-V nodes. Has anyone worked with this, does it work reliably?

The required IO throughput on these shares would really be minimal and my biggest concern is 100% availability.

View 1 Replies View Related

Security Risk To Share Phpinfo File

Mar 10, 2007

There are always people who would like to know what the php settings are on the server. Is it a security risk to share the phpinfo.php file on a website, with anybody who visits that website, able to view it?

View 4 Replies View Related

Can Anyone Share A 100% Pure Cogent 100MB Test File For Me

Jul 23, 2008

if you can share a 100MB download link that I can use to test cogent's speed to my network. Hopefully plugged into a 100MBPS port at the switch to see if it will max out or not.

View 6 Replies View Related

Script To Limit File Size On Video Share Server

May 29, 2008

We have found that we need to limit the amount of cpu uage by users on our video share server. On this server we currently have 20 users on a sharred plan. Thought that the obvious BW usage would be the biggest challenge, as it turns out we havent gone over the 2 TB that we have.

We have come up with an encoding process that uses the 264 codec and gives us excellent results in terms of quality but is very cpu intensive to the point of really slowing down the server when 10 or more users simutaneously are encoding their videos.

Can someone suggest a script that would allows us to limit the file size in terms of MB/GB that each user could upload per month.

So for example a client pays 10.00 per month and we wanted to limit their uploads to a total of 900 MB per month vs the client that is paying 50.00 per month who would have the ability to upload say 8 GB per month.

Cento 5
c-panel
Dual Quad Core 2.0 ghz
6Mb Ram
1TB HDD
2 TB of BW

View 2 Replies View Related

Share A Good Transnational Software For Large File Transfer

Jun 10, 2008

Knowing Qoodaa was quite by chance.

A few days ago, my friends studying in America recommended me a new popular transfer tool—Qoodaa. And he told me that it was a quite good software to download files and movies. At first,I was skeptical, but after using it, I found it’s a good choice to choose Qoodaa. And I have summarized the some features of Qoodaa:

1.Its speed is faster than any other softwares I used before to upload movies.

2.It can download files quickly through downloading links, in a word, it is time-saver and with high efficiency.

3.No limit of space.No matter where you are, it can download fast.

4. Qoodaa is a green software with high security and easy use.

It really can give you unexpected surprise.

I am a person who would like to share with others, and if you have sth good pls share with me

View 0 Replies View Related

Plesk 12.x / Windows :: Error On Uploading JPG Images Through File Manger

Aug 12, 2014

I am getting following error while uploading jpg images using file manager.

Unable to copy (C:Program Files (x86)ParallelsPleskPrivateTempagenta68ae7b7e47ebe9a8f021ecaf928d247php8699.tmp) to (C:Program Files (x86)ParallelsPlesk
mp{3f060750-21f6-11e4-80b6-c3d8b970534c}): (112) There is not enough space on the disk. (Error code 1)

View 2 Replies View Related

CIFS On VPS

Apr 23, 2008

I'm trying to mount a remote samba share on my VPS using this command:

mount -t cifs //remoteserver/share /mnt -o username=user,password=pass

but I'm getting this error:

mount error: cifs filesystem not supported by the system
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

Does CIFS or remote SMB share mounting work on VPS servers? If it does then on what virtualization platform does it work (e.g. Xen, Virtuozzo, etc.)?

View 3 Replies View Related

Why Is Apache Losing Market Share

Jul 25, 2007

I just looked at netcraft and was surprised to see apache's market share down to 50%. Last time I looked in 2005 it was at 70% and climbing. You can clearly see that Microsoft and Apache are a near perfect reflection of each other.

So why is everyone going to Windows servers now?

View 10 Replies View Related

Apache :: Redirect URL To Localhost / Images

Oct 10, 2013

I have a simple app where i am currently downloading some images from the internet. I want to use a local web server to host some of these images when i am not connected to the internet. I installed the apache web server and added the images folder under htdocs - my document root.

Now, i want something like when i continue to query images from www.examplesite.com/xyzimage.png within my app, it should be redirected to localhost/images. Is this possible? I tried doing this

In C:WINDOWSsystem32driversetchosts i added this line URL:...

Also in the httpd.conf i set the foll -

RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?examplesite.com$ [NC]
RewriteCond %{REQUEST_URI} !^/examplesite
RewriteRule ^(.*)$ /images/$1 [L]

but it doesnt seem to work.

View 1 Replies View Related

Windows Share Hosting Support Apache Php Mysql?

Apr 24, 2008

which windows share hosting support apache php mysql?

View 7 Replies View Related

Apache :: Images Not Loading In Reverse Proxy In Ubuntu

Apr 12, 2013

I've set up a reverse proxy using the Ubuntu Apache2 package (2.2.2, with evidently an old version of mod_proxy_html), and it's about 50% functional, but certain images aren't loading.

I've tried with and without ProxyHTMLExtended on, but even with it on I'm not convinced that any non-inline scripts or CSS files are being properly handled, as they are being directed to my local root directory instead of /app1/, and when it is on, I can no longer log in to the internal webapp.

In the log, the only errors that stand out to me are those referencing things from relative root directories, like /images/* and /ajax/*. The image files are coming from separate CSS files, and it doesn't tell me where exactly the ajax references are originating.

Here is the relevant part of my VH config:

ProxyRequests Off
ProxyPass /app1/ http://example.com/
ProxyHTMLURLMap http://example.com /app1

ProxyHTMLLogVerbose On
LogLevel debug

<Location /app1/>
ProxyPassReverse /
SetOutputFilter proxy-html
ProxyHTMLURLMap / /app1/
ProxyHTMLURLMap /images([^)]*) url(/app1/images$1) Rih
ProxyHTMLURLMap url(http://example.com([^)]*)) url(http://localhost/app1/) Rih
RequestHeader unset Accept-Encoding
</Location>

And here's an example of the errors:

[Thu Apr 11 23:22:50 2013] [error] [client 127.0.0.1] File does not exist: /var/www/images, referer: http://localhost/app1/css/examplefile.css
[Thu Apr 11 23:31:00 2013] [error] [client 127.0.0.1] File does not exist: /var/www/ajax, referer: http://localhost/app1/admin/

Comparing the source to the proxied version, I see that the images are going from "/images/*" to "/var/www/images/*".

View 1 Replies View Related

Possible For Multiple Sites On Same Server To "share" One .htpasswd File

May 3, 2007

the subject pretty much sums it up, is there a method or solution for multiple websites (whic reside on the same dedicated server) to share just one .htpasswd, or automate the mirroring of said .htpasswd file?

if so any suggestions for methodology or products that would facilitate this action would be most welcome, thx in advance friends..!

View 10 Replies View Related

Apache :: Deny Direct Access To Images From Other Websites In HTAccess

Jan 28, 2013

I have recently had number of websites that link directly to images from my website. This is not hotlinking, it is direct server request. As an example: on the linking website there is image gallery script with thumbnails and when the visitor clicks on the thumb it calls the image from my website.

I block their IP-s in .htaccess, but it is not the best way to stop them since IP change. Is there any way, similar to anti-hotlinking, to deny such direct access to my images by domain name i.e. to allow only from my website and deny from all others. Or something else that could work in my case with .htaccess.

View 8 Replies View Related

Apache :: HTAccess And Rewrite Rule - Show Existing Images

Mar 8, 2015

I'm using .htaccess to show existing images instead of images which does not exist.

RewriteBase /images/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)_(.*)1200x900.jpg$ esittely_$21200x900.jpg
RewriteRule liiga1200x10.jpg esittely1200x10.jpg
RewriteRule liiga670x10.jpg esittely670x10.jpg [L]

Everyting works fine if an image does not exist.

But if an image does exist, the second RewriteRule
RewriteRule liiga1200x10.jpg esittely1200x10.jpg
will be used.

Why is that so? How could I modify my code to prevent that? 

View 2 Replies View Related

Apache :: How To Discover Which Php File Allows Malicious File Upload

Oct 10, 2014

i manage linux apache webserver with a few wordpress blogs and from time to time i see someone inject a malicious .php file into wp-content/uploads/2014/10/ directory.

i think its some bad plugin or theme, but these is more blogs, i ugrade, update, WP, but

how can i setup some monitor to tell me which php file (or even line in php file) injected that malicious .php ? I have linux root access so i can setup anything 

View 3 Replies View Related

Where Do You Store Your Back Ups

Oct 1, 2009

I would like some tips on how to create back ups with WHM/cPanel on a Reseller if you could.

Also where to store them?

I was thinking of storing them up on a VPS or Dedi server that just has backups or should I buy a enternal Hard Drive for my computer and store them on that? I have a 500GB Hard Drive.

View 14 Replies View Related

My Own Online Store

Dec 30, 2008

i am about to run my own online store but i am wondering if im doing it right
my domain name i am gona buy it off godaddy.com

my hosting would be in site5.com

and shopping chart im gona use is magento

i think i am doing it right but im not sure if these company r good?

View 14 Replies View Related

Where Do I Store Documents In VPS

Jul 22, 2008

I am completely new to VPS, and I was wondering, where would I put my files in the VPS? Normally I am used to just storing them in public_html, or whatever I am given, but I can't find that on my server. Apache has already been installed.

View 11 Replies View Related

For An Online Store?

May 7, 2008

I am currently shopping for web hosting for an online store (that would provide software - mostly automatically downloadable upon payment).

My estimates for initial operation of my web/online store are:

Storage: (10MB/app x 50 apps) + 50MB overhead = 550 MB
Monthly transfer: 5000 purchases/month x 10MB/app = 10 GB
Number of email accounts: up to 10

By "initial" I mean first year, not first month.

My intent is to develop my own osCommerce based web store for downloadable software that I develop. PHP and MySQL support are must. My estimates are not carved in stone. In the beginning I will certainly use much less "monthly transfer" than I specified and in the long term I hope to be using much more "monthly transfer" (as marketing evolves and the business becomes more established)...

The most important factors to me are (in the following order):

1) Reliability (up-time, security)
2) Tech support
3) Expandability (room to grow)

The company that registered my domain name provides web hosting with much more than I initially need (5GB space, 250GB transfer, 50 email accounts) for under $3 a month.

This is a price that I can afford. However, I am not sure whether it is a good idea to have both the web hosting and domain registration provided by the same company? Any opinions/comments you have about this? Is my doubt in this regard unfounded?

Secondly, is there some independent source (user/customer reviews OK) that compares the reliability of web hosting providers? (I would have given the name of my registrar here but I am unsure whether this would constitute advertising. If mentioning names or asking for references is allowed please let me know and I will post it here so that I can get your opinions about it).

Thirdly, is there any significance for where, geographically, the actual servers are located? Main consideration is access speed for customers...

View 14 Replies View Related

What Can You Safely Store

Nov 19, 2007

I have a few questions for those of you who are familiar with the security side of hosting.

If you have a dedicated server is used for general hosting purposes, what can you "safely" store on that server? What type of customer data would you have on a server that is exposed to the Internet, assuming that server received regular security audits?

View 2 Replies View Related

Distributed Data Store For Web

Mar 27, 2009

I intend to store and serve files that is around 1-200mb from servers that is physically separate. I wish to store 2 or 3 copies of each file as a redundancy solution. When the file is requested I want to serve a direct downloadable link to the file. I am looking for logic to distribute load, and to detect if a server is down. I also whish to redistribute the files if a server is taken out of the pool..

Is there any open/free systems for this I can use?

View 9 Replies View Related

Php.ini Store Sessions In Database

May 28, 2008

Is there a way in the php.ini file to force all sessions to be stored in a database? For example, in ColdFusion you can configure sessions to be stored in a db. Can you do this in PHP? Thereby forcing all sessions no matter what the customer specifies to be stored in a db.

View 3 Replies View Related

Which One Is Better Hosting For An Online Store

Apr 22, 2008

I want to host my online store. Please tell me best web host. I am thinking of godaddy or 1and1. How are they both? Is there any better web host? I am looking for shared hosting in starting with good features like SSL too.

View 14 Replies View Related

MySQL Error Took Store Down

Sep 22, 2007

I've got a Fully Managed VPS hosting service running my sites and this morning I got the following error messages. My host says they do not monitor mySQL yet this error took my whole store down and kept it down for several hours until I noticed that. It's not a complaint, just asking your opinions on what this could be and what should i do about it etc.:

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/store/public_html/include/func/func.db.php on line 47

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home/store/public_html/include/func/func.db.php on line 47
Sorry, the shop is inaccessible temporarily. Please try again later.

View 12 Replies View Related

Host That Can Store / Retrieve SSN / Drivers Lic.

May 14, 2009

Is there any host out there that is compliant (say to PCI type standards) that would allow me to create a online form that will be used to fill out a rental application?

These applications will need to have the SSN / Drivers Lic. of the user filling them out, as well as CC info to be processed.

The CC info does not need to be stored, just processed for the application fee.

The SSN / DL need to be stored in such a manner that the realty agents can retrieve the form the users filled out so they can then use it to submit the application for whatever purposes.

(I would imagine it also needs to be stored so that if they ever get called by the GOVT for information about certian tenants they can retrieve the forms if necessary.


If i do this for the client, I will of course have a contract signed that basically makes sure that I am not liable if the system is breached, as i don't want the host i use for the website part itself to be storing this information at all.

I am kind of looking for a API like setup such as a merchant account, but one that allows the storing / retrieval of SSNs / DL.

View 2 Replies View Related

SSH Client For Windows Which Store Password

May 20, 2007

We are using Putty SSH clients it's great but we are looking for SSH client which can store passwords. So we don't have to enter password each time we login to the server using SSH client.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved