Giter Site home page Giter Site logo

Style don't work / [ICO] or [DIR] about apaxy HOT 8 CLOSED

oupala avatar oupala commented on August 17, 2024
Style don't work / [ICO] or [DIR]

from apaxy.

Comments (8)

rjenkinsjr avatar rjenkinsjr commented on August 17, 2024 1

@augustinpft I got the same behavior as you, but I managed to fix it. My mistake was replacing {FOLDERNAME} with the absolute filesystem path to the theme files. Seems like it's supposed to be replaced with the relative path starting from your DocumentRoot to the theme directory. In my case, I was applying Apaxy to my entire DocumentRoot, so I replaced {FOLDERNAME} with nothing and it worked.

@AdamWhitcroft is this correct?

from apaxy.

jvillemare avatar jvillemare commented on August 17, 2024

I did exactly as the tutorial on the website said as well, but it was sensationally vague: "Download and unzip Apaxy" with no link to any sort of download, so I grabbed the GitHub ZIP and it had all the nice little things but most importantly of all it was missing an actual index file to show up and replace this default directory listing which was and is infuriating.

from apaxy.

jvillemare avatar jvillemare commented on August 17, 2024

Ok, I believe that you must first put in http://larsjung.de/h5ai/ and then use Apaxy in the _h5ai/client/theme folder, but the installation tutorial on the website is incredibly vague as well, mentioning files that don't even exist in the download folder :(. There really should exist a video tutorial for this because it's mind boggling how bad these (link above and apaxy) tutorials are.

from apaxy.

AdamWhitcroft avatar AdamWhitcroft commented on August 17, 2024

Sorry to hear you're struggling to get this going. Have you managed to sort it out yet?

from apaxy.

n3storm avatar n3storm commented on August 17, 2024

Hi GGJesus,
Installing Apaxy on your virtualhost or whole server depends on so many variables with a count as big as Apache Virtualhosts variables.
You should learn the basics of the Apache Directory and Location directives at Apache documentation. http://httpd.apache.org/docs/2.4/sections.html

For example, my setup is completely different from docs because I wanted to use the same Apaxy directory from different virtualhosts, so I used linked dirs (not ideal, better use rewrite directive).

I have downloaded zip file from http://release.larsjung.de/h5ai/h5ai-0.27.0.zip and it does contain an index.html. It is possible that your zip or tar.gz does not have this file, but you have to be exact when reporting issues to developers or projects, else is very difficult to solve the issue or give help.

Hope you take my words in a good sense :)

Cheers.

from apaxy.

n3storm avatar n3storm commented on August 17, 2024

@augustinpft what does the apache log or firefox debugger network resources tab report?

from apaxy.

warshanks avatar warshanks commented on August 17, 2024

I'm having the same issue. I'm using Xampp if that matters.

from apaxy.

dexX7 avatar dexX7 commented on August 17, 2024

Assuming C:\Dev\theme\icons\blank.png maps to http://localhost/theme/icons/blank.png (or similar), then you may try:

...
-        AddIcon C:\Dev\theme\icons\blank.png ^^BLANKICON^^
-        AddIcon C:\Dev\theme\icons\folder.png ^^DIRECTORY^^
-        AddIcon C:\Dev\theme\icons\folder-home.png ..
+        AddIcon /theme/icons/blank.png ^^BLANKICON^^
+        AddIcon /theme/icons/folder.png ^^DIRECTORY^^
+        AddIcon /theme/icons/folder-home.png ..
...

Check out the source of the resulting listing, there is probably something like:

<img src="C:\Dev\theme\icons\folder.png" alt="[DIR]">

... whereby the URI isn't valid (i.e. the image can't be reached via C:\Dev\theme\icons\folder.png).

from apaxy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.