Setting Directory Read/write Permissions With WAMP And IIS

Jul 26, 2007

I'm using WAMP and IIS for the first time so bear with me if I overlooked something obvious.

I have a simple script that creates a few files and then attempts to move them to a subdirectory. I am getting a permission denied error when attempting to move the scripts in WAMP. I am uncertain how to set directory permissions in WAMP. I am also unsure how this will affect the script when I migrate it to an IIS server.

View 2 Replies


ADVERTISEMENT

Proftpd Config - How To Make Directory Have Read/write Access

May 22, 2008

Followed the guide over at [url]to get proftpd setup.

It only lists ways to create a single upload directory and a single download directory.

Tried all possible ways to get a directory creating allowing read/write but so far unsuccessful.

how this can be acheived?

Here is my current config.

#start of config

<Directory /home/FTP-shared>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory /home/FTP-shared/download/*>
Umask 022 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNEF RNTO RMD XRMD>
DenyAll
</Limit>
</Directory>

<Directory> /home/FTP-shared/upload/>
Umask 022 022
AllowOverwrite on
<Limit READ RMD DELE>
DenyAll
</Limit>

<Limit STOR CWD MKD>
AllowAll
</Limit>
</Directory>

#end of config

/home/FTP-shared/read-write is the folder I want to be able to read and write data to.

View 0 Replies View Related

Typical Read/write Speed For Software Raid1

Dec 21, 2008

I just got 2 dedicateds, and while creating software raid 1, upon initial sync up I'm getting around 7 megabytes per second (6700 kb/s) in write speed I assume.
This is a quad core, sata2 setup...

View 3 Replies View Related

How NOT To Require CHMOD 755 Permissions To Create, Write And Delete Files On Linux

Dec 30, 2008

On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first.

Now I cannot, and files are required to be chmoded properly so I can write to them.

I cannot even touch() a file with PHP.

Is there any way to have this permissions removed?

I don't want to chmod the all thing, all I want is to change the configurations so I can fwrite() or file_put_contents() normally.

I's a dedicated un-managed server, so basically any advanced configurations can be done.

View 8 Replies View Related

Plesk 11.x / Linux :: Python Permissions To Write Files In Another Web Space On Same Server

May 15, 2014

I have a python script that generates images and is able to write them into a directory on the same web space

However, I would like the same script to write files into another directory located in the web space of another domain on the same server.

For example, script lives here...
/var/www/vhosts/domain1.com/httpdocs/scripts/myscript.py

this works...
/var/www/vhosts/domain1.com/httpdocs/scripts/images/

this fails...
/var/www/vhosts/domain2.com/httpdocs/web/images/

The directory structure already exists, so there is no need to create any new directories

I have tried setting permissions for the destination "images" directory to 777 and that didn't work.

Do I need to specify something within Plesk to enable it to write to another directory?

View 6 Replies View Related

Setting Up An Intranet Site Using Wamp

Jul 3, 2008

These are the settings which I've created on the Wamp server that will be access across the network.

In the httpd file, I have Remove the hush from the line second line of after the Virtual hosts

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

To setup the domain, in the httpd-vhosts file, I have create this

<VirtualHost *:80>
ServerName MathewBrown
ServerAlias MathewBrown
DocumentRoot "C:/wamp/www/MathewBrown"
ErrorLog "C:/wamp/www/MathewBrown/logs/error.log"
CustomLog "C:/wamp/www/MathewBrown/logs/access.log common"
<Directory "C:/wamp/www/mathewbrown/">
Options FollowSymLinks
AllowOverride all
Order Allow, Deny
Allow all
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName DevServeWeb
DocumentRoot "C:/wamp/www"
ErrorLog "C:/wamp/www/logs/error.log"
CustomLog "C:/wamp/www/logs/access.log common"
<Directory "C:/wamp/www/mathewbrown/">
Options FollowSymLinks
AllowOverride all
Order Allow, Deny
Allow all
</Directory>

</VirtualHost>

In the hosts file, I have added this.

127.0.0.1 localhost
127.0.0.1 MathewBrown
127.0.0.1 DevServeWeb

In my phpmyadmin file, these have been added

<Directory "c:/wamp/apps/phpmyadmin2.11.6/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Allow from 127.0.0.1
Allow from 192.168.2.102
</Directory>

<Directory "C:/wamp/www">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Allow from 127.0.0.1
Allow from 192.168.2.102
</Directory>

<Directory "C:/wamp/www/MathewBrown/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Allow,Deny
Allow from all
Allow from 127.0.0.1
Allow from 192.168.2.102
</Directory>

Computers which will be accessing the server,
their hosts file have been changed to this.

127.0.0.1 localhost
192.168.1.100 MathewBrown
192.168.1.100 DevServeWeb

View 0 Replies View Related

How To Change Permissions Of A Read Only File System

Jun 21, 2008

I have a dedicated server and till few days back i was able to edit my files fine but this morning when i am trying to edit any file, it gives me back this error:

[user@domainname theme]$ chmod 777 header.php
chmod: changing permissions of `header.php': Read-only file system
[user@domainname theme]$

[root@domainname theme]$ chmod 777 directoryy
chmod: changing permissions of `directoryy': Read-only file system
[root@domainname theme]$

I tried both as normal user and root and same results. Do you think the hosting guys changed the permissions of the file system or something?

View 4 Replies View Related

Directory Owner/permissions

May 24, 2007

I currently have a WHM/CPANEL VPS and will be running a content managment system that is licensed to manage any domain on the same server.

The CMS essentially builds static webpages for all domains that it manages. The CMS is written in perl and is installed in CGI directory of the " master domain".

I wish to use the CMS in this master domain to control the other domains on the server. Each of the other domains has its own public_html directory and own CPANEL.

Right now, I have to make the public_html directory of my other websites "world writeable" before I build its pages using the CMS. I want to get away from that.

I wish to set up permissions to 755 on each of the public_html directories and still be able to write to those other sites from my master domain's CMS.

View 0 Replies View Related

How To Change Php Files Permissions In Directory And Subdirectory At Once

Nov 9, 2007

How to Change php files permissions in directory and subdirectory at once ?

I want to change the permissions of php permissions to be 644 in /home/user/public_html/forum and all forum subdirectory using SSH.

View 2 Replies View Related

File And Directory Permissions Is Driving Me Crazy

Sep 9, 2007

Until recently i had never used a Linux server, as i used to have a windows server. I now have a Linux VPS

I am now at my wits end with file permission problems

I use Joomla a lot for my websites, and i also develop and program many modules and components for it, but at the moment every time i upload a module (which is a zip file with php files that is put onto the server in the right place via php) it sets the ownership to "nobody" rather than the username so i cant access it via ftp, as it says you don't have permission or the file may not exist.

Is there anyway the server can be set so it will by default set the file to have an owner name that will allow ftp access to it without me having to learn SSH Putty (which is all i have done today) or contacting my hosting company every time?

I am spending more of my time with these permission problems than doing my work, it driving me barmy!

View 4 Replies View Related

Apache Nested Directory Permissions Or HTAccess

Apr 9, 2014

Is it possible to lock for example the site down with basic auth and lock a subdirectory of it with a different basic auth?

Example: URL...

<LocationMatch "/*">
AuthType Basic
AuthName "Main Gate"
AuthBasicProvider file
AuthUserFile /etc/accounts
Require valid-user
</LocationMatch>

[code]....

View 1 Replies View Related

Plesk Automation :: Reset Default Permissions In Virtual Host Directory

Jun 6, 2013

How do we reset default permissions in virtual host directory in PPA.

I see some KB articles for Plesk Panel - but not sure we can use those.

View 4 Replies View Related

Hard Time In Setting Red5 On My VPS In /usr/local/red Directory

Apr 16, 2009

I really had a hard time in setting red5 on my VPS in /usr/local/red directory, I have done all the installation steps but still the port tester does not show success, I am using centos5 with cpanel installed, i have the installation steps from red5 forum but pretty much unsure what needs to be done after installation

1. I have only iptables installed and even if I remove iptables the port tester does not work properely

View 4 Replies View Related

Plesk 11.x / Linux :: Setting Up Cron Job For Domain User - No Such File Or Directory

Apr 20, 2014

Can't get it working, I want to set up a cron job for a domain user, but seems that there's a problem to find the php executable. The command is:

Code:
/usr/bin/php/ -f /var/www/vhosts/thedomain.com/httpdocs/test.php

But the report says

-: /usr/bin/php/: No such file or directoryClick to expand...

View 3 Replies View Related

Plesk 12.x / Linux :: Setting Backups To Own FTP Server - Unable To List Directory

Jul 8, 2015

I'm trying to setting plesk backups to own ftp server.. My ftp server is listening by the port 31..

My conf:

Server: mydomain:31
Directory: vpsbkp
User and password...
Passive mode checked

Here the error display: "Transport error: unable to list directory: Curl error: Couldn't connect to server"

Where are the bkp ftp logs?

View 4 Replies View Related

VPS Providers! What's Your Take On "write Back" & "write Through"

Oct 9, 2009

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.

View 0 Replies View Related

WAMP On IIS

Nov 2, 2008

Can anyone point me to some decent instructions on how to get PHP/MySQL working on IIS? Basically I want to be able to use PHP + .NET at the same time. Been looking around and trying for awhile with no luck.

I know it's always better to get my hands dirty and install everything manually. However, I'm not confident about configuring it properly. So if anyone knows of a good WAMP installer that does everything painlessly it'll be great.

View 7 Replies View Related

WAMP 2.0G Installation

Mar 8, 2009

I have WAMP 2.0 installed on my Windows Vista. WAMP has released a new version: 2.0G. I've just downloaded it and i'm wondering if i could just run the installer or do i have to uninstall my current WAMP and then only install the latest version?

View 1 Replies View Related

Reinstalling Wamp

Jul 5, 2009

I started learning how to use Magento's eCommerce solution, and I ran into a problem when I mistakenly changed the root pw for my phpMyAdmin area. After trying to find a fix online, it seemed like the best thing to do would be to reinstall WAMP. So I uninstalled it using Control Panel's 'Add or Remove Programs.' After reinstalling WAMP, I am having difficulty getting it to work properly.

When I try to launch Wamp (WampServer 2), I get an alert saying "Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience." The message and the error signature are as follows:

But for some reason, the WAMP system try icon says that it's online (It shows a semicircle with 3/4 of it colored yellow.) However, when I try to connect to the localhost in my browser, I get the following message: Failed to Connect Firefox can't establish a connection to the server at localhost.

View 2 Replies View Related

WAMP Server On Another PC

Jun 12, 2008

I've set up WAMP on another PC on my home network. Works just fine for browsing via a web browser (i.e. displaying the web pages on the server). However, when I try to use FTP in Notepad++ I cannot establish a connection.

If I change the port to 80, I can get a connection. Change it back to 21 and no connection.

I tried switching off the firewall (inc windows firewall) on the server, and the anti-virus. Not made a difference.

View 7 Replies View Related

Webhosting With WAMP

Jan 2, 2008

As generally i stick to hardware...but anyways i have encountered this problem..

I have installed WAMP on my sever

I have opened up Port80 to it(port forwarding)

I can enter both internal address (address of server 192.1068.1.108) and external ips (my external address 220.239.199.48) into my browser on another computer in the network and it works but as soon as you try on a computer outside my network on the internet some where it just times out....

View 8 Replies View Related

WAMP - Access Website With My WAN IP

Jan 2, 2009

I have WAMP Setup and configured correctly, and it's working just fine.

I have a DynDNS account and it is pointing to my WAN IP.

For instance if my friends or if I use proxy to load [url]it loads just fine.

But from my own browser when I try accessing [url]it doesn't work.

Is there any way I can fix this issue?

Basically I am trying to use a domain name to point to my pc. And use that domain name to test my website other than using [url]

View 1 Replies View Related

Using Wamp; Mysql Still Looking In C:xampp

Feb 6, 2008

I'm trying to install Joomla on my home server, and it requires mysql to have a password for security. Since nothing of my server is anywhere on the net, I never bothered to set a pass (yeah, I should have anyway).

Google led me to this article on the mysql forums, which worked up until it tried to initialize mysql (or whatever the command does, I'm guessing initialize). It's trying to look for the xampp folder that I had installed and uninstalled long before.

Code:

C:Documents and Settings[user]>C:wampmysqlinmysqld-nt --init-file=C:mysql-init.txt
080206 18:17:47 [ERROR] Can't find messagefile 'c:xamppmysqlshareenglisherrmsg.sys'
080206 18:17:47 [ERROR] Aborting

Is there a mysql setting I need to change?

View 2 Replies View Related

WAMP Or Manual Installation

Mar 8, 2007

some question about WAMP.....

1.which one is better?using wamp in productive system or do ur manual installation?

2.which WAMP is better?web-developer-server suite,apache2triad,WAMP5,or vertrigo?

View 0 Replies View Related

WAMP Server Alternative

Feb 13, 2007

I have just upgraded to Windows Vista Home Premium and am now looking for a WAMP installation whcih is compatible. Any ideas anyone. I used to use WAMP 5 and I knwo this is getting an update but I am in desperate of something similar for the time being.

View 0 Replies View Related

CPanel Directory / Sub-Directory Protection (Linux Shared Hosting)

May 31, 2007

I have a situation like this:

There is a directory say, "Master" and inside, "Master" there is sub-directory, "Slave". A user who has access to, "Master" should be able to access, "Slave" automatically. However, a user who has access to, "Slave" should not have access to, "Master". Inside cPanel this type of protection is not possible.

View 3 Replies View Related

Addressing My Real Domain To Wamp

Apr 30, 2009

I have purchased a domain, and installed WAMP on my local computer. Now, I want to attach the domain name to WAMP such that when I entered my designed site on WAMP on my computer, I'll see my own domain instead of C://localhost/.../...

I have been told that the company that owns my domain should address its DNS to my own DNS?

View 6 Replies View Related







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