I am working with an Apple Lion Server. I want to give users the possibility to gain access to certain share points with the webbrowser via the WebDAV protocol. The OS allows to define sharepoints with the GUI. In this GUI you can adjust, that the users are allowed to access the sharepoints via WebDAV but it is not possible to access the folders via a browser. You just get an error from the webserver after a login:
You don't have permission to access /webdav/ on this server.
So I have looked for the relevant configuration file "httpd_webdavsharing.conf" (apache v2.2)
Code:
#
# Apache Config for WebDAV Sharing
# Activated and deactivated by com.apple.webapp.webdavsharing webapp
#
RegisterResource "WebDAV Sharing: %c %s" /webdav main webdav
RewriteEngine On
RewriteMap webdavmap prg:/usr/libexec/webdavsharing/webdavsharing_mapper
[Code] .....
Is there a way to modify the code in such a way that it allows the favoured access?
I want to grant different access rights for certain folders to a large group of users of my apache WebDav server.There are access control lists for each folder on the server. Based on the rights in the access control lists the users should only have access to the folders listed in the ACL lists.In addition to that some users have only "read", some also "write" rights for the folders.How can I set up the described access rights on my WebDav server?
i signed up for vps from vps.me and i got ssh credential i logged in ssh using token2shell but when i put my server ip "10.223.1.157" in google chorome but then it says unable to find even i am not able to access ftp through filezilla also
My server was hacked so they did a OS reload. Everything seemed ok then they did the Level 2 Security Plan which includes
Update kernel to the latest release Update security patches Thorough security audit Installation and configuration of firewall Installation of security updates as released by OS vendor Installation of security updates as released by Control Panel vendor Configuration changes as desired by customer Disabling of unused and insecure services Removal of insecure packages and unnecessary software Regular scans for easy-to-guess users passwords Log auditing for unusual activity Investigating hacking attempts Restoring files from backup Anti-spam configuration Anti-virus configuration Anti-DoS/DDoS kernel code tweaking Default system users removal SSH server hardening Mod_Security (Intrusion detection and prevention engine for web applications) Securing /tmp directory Kernel tuning with sysctl Snort (Network Intrusion Detection System) Acid (Analysis Console for Intrusion Databases) Smartd (HDD Reliability monitor) SIM (System Integrity Monitor) PRM (Process Resource Monitor) SPRI (System Priority) BFD (Brute Force Detection) PMON (Socket Monitor) Tripwire (keeps track of every file being moved/edited in the system) CHkrootkit (Rootkit/Exploit scanner reports sent daily)
1. Now I get a timed out message via my browsers IE & Mozilla
2.When I try to FTP into an account I get this message, same message on all accounts. [06:37:47] Connecting to 72.21.49.74 Port: 21 [06:38:08] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
3. When I try to retrieve my email via Outlook 2007 I get this Receiving reported error (0x80042108) 0UTLOOK CANNOT CONNECT TO YOUR INCOMING (pop3) EMAIL SERVER
Here are the traceroute results (image below) Note the timed out message
Servstra keeps telling me everything works on their end...... yet I cannot get to the server any longer.
I have Configured Apache2.4.4 for forward Proxy and tested from my browser the response is very slow and even not coming complete Response for some requests.
I also Tested the same for Apache2.2 Forward Proxy it is very fast and good.
May I know what is the Problem in Apache 2.4
Is there any Issues in proxy modules (mod_proxy,mod_proxy_connect.so,mod_proxy_http.so) in Apache2.4
This is the same configuration i used for Apache2.2 and Apache2.4
i have made my all pages with .html extension and hence my SEO is based on accordingly. Now i made some changes to htaccess that causes to not inclusion of header and footer pages (both are made with .php extension ). so i decided to change the extension of pages (.html to .php) and it wokrs. due to SEO and large number of pages i want all my pages .php (made later). to get converted automatically with .html in browser. so is it possible using .htaccess rewrite.
my server has just one site, apache conf has such a line:
Code: ScriptAlias /cgi-bin/ "/usr/local/apache/htdocs/cgi-bin/" and
Code: <Directory "usr/local/apache/htdocs/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> then, my cgi script may run well under the said folder,
/usr/local/apache/htdocs/cgi-bin
but I have another script need to be setup another cgi-bin under its own folder below htdocs folder, like,
/usr/local/apache/htdocs/anotherscript/cgi-bin
however, when I run the said script in browser:
Code: http://www.mydomain.com/anotherscript/cgi-bin/abc.cgi the browser just shows source codes, instead of running it. I am guessing something wrong in httpd.conf,
may I know how to set apache httpd.conf to meet my requirement?
I tried installing webdav on my VPS, but I'm having problems. I added the module as a DSO. I'm able to connect to it fine (in multiple client (dreamweaver, cadaver)), however, when I try to upload, I'm not able to. Apache has permissions for that directory and for the lock file. However, I get a 403 Permission Denied error.
I am running a Fedora Core 4 VPS with Apache 2.0.53 I think.
I would really like to install/enable WebDAV so that I can mount some of the server storage as a drive on my computer for easy file manipulation from desktop, laptop, gf's house, etc. without having to carry the files around with me all the time.
I am having trouble setting up webdav on IIS6. I wasted all day on this today.
So far I have set it up to work over the internet with anonymous access.
Now I want to turn on:
1) basic authentication
2) SSL
I try to turn on (1) but:
- when try to access over the internet, it prompts for my login but it doesn't accept the login and keeps reprompting me.
- when I try to access from the local server, it seems to accept the login but gives an error 'the folder you entered does not appear to be valid, please choose another'
I have created a new user who has permission to access both the directory on the server and the virtual directory in IIS. I have turned on the webdav extension. I have tried reinstalling IIS too.
When I create a folder called "error" in a sub domain, apache doesn't read it. I tried with different permissions and proprietary (root and sub domain owner) but doesn't read the index.html.
In other sub domain the same problem occurs.
Quote:
Forbidden
You don't have permission to access /error/ on this server. Apache Server at sub domain.domain.com Port 80
Apache reserves the name "error" for internal use?
I'm trying to set up Apache on CentOS 4. I'm using Apache 2.0 and it can't seem to access anything outside of the /var/www directory - it gives an Error 403.
I thought this would be down to SELinux but this is disabled. I've run the following command on the directory but with no luck:
I m newbie to apache server. I have created a web site using apache server with theURL... tutorial. I m able to access my web site on my ip address bt unable to access it using other ip of linux system. I m CentOS user. I can ping that ip with my ip. I have edited files as described in the tutorial.
I can't reach my website, I get a "corrupted content" error message in the browser.Looking into apache (version 2.4.7), I get
Code: ~$ apachectl -S AH00526: Syntax error on line 22 of /etc/apache2/sites-enabled/000-default.conf: SSLCertificateKeyFile: file '/etc/ssl/private/owncloud.key' does not exist or is empty Action '-S' failed.
However, I double checked that the file is in the appropriate location and does contain the key, so maybe apache has no permission. afaik, it doesn't run as root all the time - or only for a short time?
permissions for the key file are as follows:
Code: ~$ sudo ls -l /etc/ssl/private/owncloud.key -rw-r--r-- 1 root ben 1704 Sep 28 04:01 /etc/ssl/private/owncloud.key
, where ben is my normal user.
It was suggested to me on the httpd IRC channel that maybe apparmor was doing something wrong, but I don't know how to investigate that.
I cant access gmail from my internet connection, but google is opening and also all other emils are opend(yahoo,aol...). Im using windows 2000 OS. Is it a problm of mail server of gmai?
I have installed Apache 2.4.3, and PHP 5.4.5 64-bit, and I have installed PostgreSQL 9.2 64-bits under my new system windows 7 64 bits. Apache and PHP could work nicely, and PostgreSQL run fine too. However, PHP couldn't access the PostgreSQL. pg_connect(), and followed by echo select version(), didn't give any error. When PostgreSQL module was not loaded (because my php dir was d:php, but inside httpd.conf i type D:/PHP), I got message saying something like "undefined pg_connect()." I fixed it, but select version() or any other echo after pg_connect() didn't give any output.
I have XAMPP server which works fine. When I wanted to load webpages through my lan network it said I need to edit httpd-xampp.conf. When I try to load from internet there is no connection at all. I changed httpd-xampp.conf from this
Code :
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))"> Order deny,allow Deny from all Allow from 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch>
When a user enters the whole url to a file on the webserver he/she can view this file. I want to prevent this and only allow access to the files from within the application (under apache). How can I do that? I already tried:
<Directory /var/www/html/folder/files> order deny,allow allow from localhost </Directory>
This works BUT the file also isn't viewable from within the application anymore.
I recently installed Apache/2.0.64(win32)on my Windows 7 machine and am having a problem with external access. The installation appears to be good as it shows all services running and I can access a basic index.html file through 127.0.0.1
I have ruled out any router or firewall issues and am fairly sure the problem is with the httpd config. But the only changes I've made are to the NameServer and Listen directives, so I'm lost for an answer to the problem.
The NameServer is set to my actual IP address while the Listen one is set to my servers internal IP address, but I have tried switching them around with no success.
The other thing I don't know is if I need to have SQL and myPHP installed just to check basic functionality.