2014-10-05

tflidd wrote:
If you access your owncloud via
http://www.mywebsite.net/index.php/apps/files/

then maybe your document root is /var/www/owncloud?

Sure that there is no hidden file in /var/www (ls -lsa)? You can also try to put a index.html in /var/www, can you access the file?

This is my 000-default file under /etc/apache2/sites-enabled/000-default:

<VirtualHost *:80>
ServerAdmin webmaster@localhost

DocumentRoot /var/www/public_html
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/public_html>
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>

</VirtualHost>

This is the owncloud.conf file under /etc/apache2/conf-available:

Alias /owncloud /var/www/owncloud
<Directory /var/www/owncloud/>
AllowOverride All
</Directory>

So obviously, owncloud looks as if it should only work by being called from the
http://www.mywebsite.net/owncloud/
directory, but it sure isn't functioning that way.

When I create index.html under my /var/www folder, it still redirects to the ownCloud page, no change at all. Which website configuration would apache even be looking for, if it isn't honoring the 000-default file under sites-enabled?

For ownCloud to be set up so that it rapes your default configuration and just takes over everything is absolutely, unequivocally wrong and should be fixed. I haven't made any changes to anything and after ownCloud was installed, it began taking over all of the traffic sent to
http://www.mywebsite.net
as well as the local IP address.

Statistics: Posted by noxwaste — Sun Oct 05, 2014 8:28 pm

Show more