-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (26) . 
Go back to the overview page to see other entries
Back to overview

0
votes
click to vote up

404 on relay URL


Application: Shorty - Mar 28 2015
not answered
Question:Hello, I've been working on getting shorty working with my Owncloud install, and can't get past a problem.

I can create a shorty, no errors show up in the logs on creation and the new shorty goes into the mysql back end database and appears in the panel. But when I try to acutally access the shorty URL I see only a 404 in my web server log. I'm guessing this is a problem in my config somewhere but am out of places to look.

The rest of my Owncloud install seems to work fine.

I'm running Owncloud 8.02 on CentOS 7 x64, with nginx 1.6.2 webserver, and shorty 0.5.1 from github.

I create the shorty, and see this in my owncloud.log:
[code]
{"reqId":"fcca2f7822124e358c2e69414796dccd","remoteAddr":"192.168.69.115","app":"shorty","message":"Created Shorty 'https:\/\/mydomain.com\/public.php?service=shorty_relay&id=dzMRMwJmZ' for target url 'http:\/\/cnn.com'","level":1,"time":"2015-03-28T17:15:13+00:00"}
[/code]

Afterwards, I check the database and get this result showing the shorty was created (note ID dzMRMwJmZ is in there):
[code]
MariaDB [owncloud]> select * from oc_shorty;
+------------+---------+-------+---------+------------------------------------------------------------------+----------------+------+-------+------------+----------+--------+-------+
| id | status | title | favicon | source | target | user | until | created | accessed | clicks | notes |
+------------+---------+-------+---------+------------------------------------------------------------------+----------------+------+-------+------------+----------+--------+-------+
| W9hN3K3JhU | deleted | wtf | | https://mydomain.com/public.php?service=shorty_relay&id=W9hN3K3JhU | http://wtf.com | john | NULL | 2015-03-28 | 0 | 0 | |
| dzMRMwJmZ | public | cnn | | https://mydomain.com/public.php?service=shorty_relay&id=dzMRMwJmZ | http://cnn.com | john | NULL | 2015-03-28 | 0 | 0 | |
| nxUJSvXvKn | public | wtf | | https://mydomain.com/public.php?service=shorty_relay&id=nxUJSvXvKn | http://wtf.com | john | NULL | 2015-03-28 | 0 | 0 | |
+------------+---------+-------+---------+------------------------------------------------------------------+----------------+------+-------+------------+----------+--------+-------+
3 rows in set (0.00 sec)
[/code]

But when I try to actually go to the relay URL by clicking it in the shorty panel, I see this in my web server log:

[code]
192.168.69.115 - - [28/Mar/2015:13:21:34 -0400] "GET /public.php?service=shorty_relay&id=dzMRMwJmZ HTTP/1.1" 404 5 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0" "-"
[/code]

Any advice on anything else I should check would be greatly appreciated.
Thanks!





Add answer
Back to overview
Add comment

Do you have a question?
Post your question here






-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team