Devam Ediyor

Fix my Apache2 [url removed, login to view] error

I have created the following folder on my server:

MyIPAddress/var/www/webdav/calendars

I have added the following to my /etc/apache2/sites-available/[url removed, login to view] file:

# calendars

Alias /calendars /var/www/webdav/calendars

<Directory /var/www/webdav/calendars>

DAV On

AuthType Basic

AuthName "My Calendar Directory"

AuthUserFile /etc/apache2/[url removed, login to view]

Require valid-user

</Directory>

#Require valid-user means that everybody with a valid username+pass can access it

<Location /calendars/>

Require valid-user

</Location>

Then I try to connect to the folder using WebDAV with the following path:

http://MyIPAddress/var/www/webdav/calendars

But that does not work.

It only works if I set up [url removed, login to view] like this:

<Directory /webdav/var/www/webdav/calendars>

But I don't see why. The directory path in the second approach

/webdav/var/www/webdav/calendars

does not exist. It should be

/var/www/webdav/calendars

instead, in my opinion.

I need to find out what my thinking error is.

Edit: My entire .conf file is this:

DavLockDB /var/www/DavLock
<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog ${APACHE_LOG_DIR}/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog ${APACHE_LOG_DIR}/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

Alias /webdav "/var/www/webdav"
<Directory /var/www/webdav>
DAV On
AuthType Digest
AuthName "webdav"
AuthUserFile /etc/apache2/users.password
Require valid-user
</Directory>

# Calendars
Alias /calendars "/var/www/webdav/calendars"
<Directory /var/www/webdav/calendars>
DAV On
AuthType Basic
AuthName "My Calendar Directory"
AuthUserFile /etc/apache2/users.password
Require valid-user
</Directory>

</VirtualHost>

Beceriler: Apache

Daha fazlasını görün: webdav, dav, fix location, apache password, apache access, fix http 500 server error, apache2, apache webdav, webdav apache, fix http error wordpress, my conf http, my conf, fix http error website, fix http error, fix apache error, apache server alias, parse error syntax error unexpected indexphp line fix, default apache linux plesk, internal server error database joomla recover fix, install http webdav server, dav file, fix javascript doesnt work ie7, access calendars, apache directory server, access calendars work

İşveren Hakkında:
( 24 değerlendirme ) Darmstadt, Germany

Proje NO: #6550955

Seçilen:

tmihaldinec

Hi, it looks like a path problem where apache is looking for files if you want, i can try to fix this regards Tomislav

1 gün içinde 27€ EUR
(0 Değerlendirme)
0.0

12 freelancers are bidding on average €23 for this job

exsys

I can help you solve this in no time ... i myself am a snr sysadmin with more than 8 years of experience in the field. there are some directory / configuration misconfigured in your conf files. I can help restore them Daha fazlası

1 gün içinde 23€ EUR
(16 Değerlendirme)
4.6
sachisaket41

Dear Customer, this is Saket, and i am glad to work for you project. We specialise in Server Management, Enterprise Email Systems, Email Marketing and Asterisk VOIP Support. WE also configured pfsense, csf, vyata etc. Daha fazlası

in 0 gün içinde19€ EUR
(8 Değerlendirme)
3.8
Mondorica

i can resolve your issues at apache. Got experience with unix systems and his services. Let me know.

1 gün içinde 29€ EUR
(2 Değerlendirme)
2.0
AdminSavvy

A proposal has not yet been provided

1 gün içinde 20€ EUR
(3 Değerlendirme)
1.8
ibaydan

For more about my experience look my personal page [url removed, login to view] .

1 gün içinde 23€ EUR
(1 Değerlendirme)
0.6
serkar27

A proposal has not yet been provided

1 gün içinde 12€ EUR
(0 Değerlendirme)
0.0
iamawesome1

A proposal has not yet been provided

1 gün içinde 22€ EUR
(0 Değerlendirme)
0.0
peterbirkas

Még nem kapott javaslatot

in 3 gün içinde9€ EUR
(0 Değerlendirme)
0.0
sveralex

Hello, can you post real URL (with IP) to review? -- Thank you

1 gün içinde 20€ EUR
(0 Değerlendirme)
0.0
tcrnicki

Hello, you are mixing paths on the server with the web address with which you want to access the pages. From the seeting you mention you should access the server with the following address: http://MyIPAddress/ Daha fazlası

1 gün içinde 50€ EUR
(0 Değerlendirme)
0.0
bwveinotte

Hi, I run apache servers and it looks to me like you may need a location container. I could set this up for you quickly. Thanks, Barry ----------------------- Barry Veinotte Phone: 902.840.0469 http://ww Daha fazlası

1 gün içinde 23€ EUR
(0 Değerlendirme)
0.0