LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-06-2015, 08:17 AM   #1
dstu
Member
 
Registered: Dec 2006
Posts: 37

Rep: Reputation: 0
Apache virtual server alias and rewrite


Hello friends,

I have an Ubuntu server that I upgraded today to v. 14.04.

I installed last week WordPress.

In the past few months, I had owncloud running with SSL without problems.

owncloud is located in /var/www/owncloud and I has aliases from the virtual servers to it.

With the installation of wordpress and the failed attempt to install permalinks (/page instead of index.php?page_id=xx), I played around with the settings, but the owncloud alias is not working anymore, despite the fact that .htaccess is empty and that i disabled the rewrite module that I enabled during my wordpress tests.

These are the virtual server's directives:
Code:
DocumentRoot /var/www/domain.com
ServerName domain.com
<Directory "/var/www/domain.com">
allow from all
Options +Indexes
#Options ExecCGI FollowSymLinks Includes Indexes MultiViews
</Directory>
SSLEngine on
SSLCertificateFile /var/www/domain.crt
SSLCertificateKeyFile /var/www/domain.ppk
SSLCACertificateFile /var/www/domain.ca-bundle
Alias oc /var/www/owncloud/
My primary concern is the owncloud, but managing to fix the wordpress permalinks would be nice, as a 2nd step.

I also see the following in the apache access log (seems that it appears every 8 minutes or so):
Quote:
"OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.6 OpenSSL/1.0.1f (internal dummy connection)"
Can anyone assist?

Thanks in advance,

David

Last edited by dstu; 03-06-2015 at 08:21 AM.
 
Old 03-06-2015, 08:36 AM   #2
dstu
Member
 
Registered: Dec 2006
Posts: 37

Original Poster
Rep: Reputation: 0
Just to inform everyone that by modifying the alias line (added /), the owncloud is accesible again:
Quote:
Alias /oc /var/www/owncloud/
The other issues remain unsolved.

Thanks
 
Old 03-06-2015, 12:09 PM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
I also see the following in the apache access log (seems that it appears every 8 minutes or so):

"OPTIONS * HTTP/1.0" 200 125 "-" "Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.6 OpenSSL/1.0.1f (internal dummy connection)"
This is normal apache behavior. If you don't want to see it in your logs, follow the instructions here:

Regards
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Looking for tips on running Apache named virtual hosts assigned to an alias rnturn Linux - Server 1 09-08-2014 05:18 PM
Rewrite for https in apache server elok Linux - Server 4 11-10-2010 02:30 AM
Apache rewrite for Virtual Hosts deploy_update Linux - Server 3 08-14-2009 02:51 AM
Apache virtual host, rewrite & proxy question NickDeGraeve Linux - Server 8 02-02-2009 07:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration