Problems with layout of owncloud page
Hi all,
I have a quite similar problem, wich was reported in #195, but it seems, that it is an other problem, because I cannot solve that problem. I tried every tipp I got on #195, but it does not help.
My webpage looks like: http://puu.sh/1n2nb
The apache error log looks shows this: [Fri Nov 09 15:22:16 2012] [error] [client xxx] File does not exist: /var/www/polcustcloud/remote.php/core.css, referer: http://www.xxx.xxx/polcustcloud/?app=files [Fri Nov 09 15:22:16 2012] [error] [client xxx] File does not exist: /var/www/polcustcloud/remote.php/core.js, referer: http://www.xxx.xxx/polcustcloud/?app=files
and when I surf to http://www.mywebpage.com/ownclouddir/remote.php/webdav, a 404 error appears.
Thanks for the help in advance.
Br Martin
Which web server? Which OS/Distribution?
I´m sorry. It is an apache2 webserver mit php5.5 on a ubuntu 10 distribution.
No prob Is mod_rewrite enabled? Can you please post your apache configuration for ownCloud? Especially what options are set within < Directory >.
Yes, I checked that all what was posted in the issue #195. mod-rewrite is enabled
apache2.conf: LockFile ${APACHE_LOCK_DIR}/accept.lock PidFile ${APACHE_PID_FILE} Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 5
User ${APACHE_RUN_USER} Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^.ht"> Order allow,deny Deny from all Satisfy all
DefaultType text/plain HostnameLookups Off ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn
Include mods-enabled/.load Include mods-enabled/.conf
Include httpd.conf Include ports.conf Include conf.d/
Include sites-enabled/
ports.conf: NameVirtualHost *:80 Listen 80
000-default in sites-enabled:
<VirtualHost *:80> ServerAdmin [email protected]
DocumentRoot /var/www
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride all
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>
ServerName www.mypage.com
Please try adding this line to : < Directory "/var/www/" > DirectoryIndex index.php
where to??
should look like this:
<Directory /var/www/>
Options FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.php
</Directory>
No change. The same problem with this line.
Did you restart apache? (Just to make sure - no offense)
Yeah, I did .. :-)
What about adding another config block for the subfolder where ownCloud seems to be installed:
<Directory /var/www/polcustcloud/>
Options FollowSymLinks
AllowOverride all
Order allow,deny
allow from all
DirectoryIndex index.php
</Directory>
Sorry. Does not help.... That´s really bad. I am not sure since when the problem comes up. I installed SSL after owncloud isntall and I updated to 4.5.1
Is your site publicly available? So you mind sending me the link?
yes, I can: www.polarisfamily.com/polcustcloud
the apache config is somewhat broken as request for /polcustcloud/remote.php/core.css are redirected to index.php. Is .htaccess processing enabled?
AllowOverride All
Yes, it is enabled and I checked that also in the site config.
Can you please post you .htaccess with the ownCloud installation?
ErrorDocument 403 /polcustcloud/core/templates/403.php
ErrorDocument 404 /polcustcloud/core/templates/404.php
@bartv2 @icewind1991 or someone else: Are these rewrite rules setup right? THX
I haven´t changed anything in these settings and it worked fine. I even do not know where to set that up in that case.....