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.
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?
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.
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.
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.
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?
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.
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.
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
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)
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.
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:...
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
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..!
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.
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Â
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.
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.
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...
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?
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?
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.
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.
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.
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.
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.