Can't change Apache2 shared folder's file - html

I'd like to change the page that shows what files I've uploaded. I never found the editable file. Can it be changed at all?? I have read a bunch article about this problem but I haven't found the solution.
I am talking about this page: Index of /--
Here is my shared folder: Location

Change the index file (probably: index.html or index.php) or add one yourself, if it does not exist yet. You can use .htaccess for example, if the directory or files inside should be access protected. You can also redirect the user when he is accessing the directory or a file inside.
The images that you have provided show the fallback display of a directory for apache.

Related

How would I access a back-end webpage?

These files I have uploaded to my host provider "hostinger". Now usually the index.html page would be the root page of the webpage itself by accessing it like SOMEPAGE.com. Also I have an admin.html file which is some sort of a settings page where want to be able to make changes into and access index.html page.
How would I be able to access that page the same way I would access the index.html or SOMEPAGE.com in the web in the link bar of the browser?
The URL can accept a path to a directory structure on your server starting at the web root, which in your case is the directory where index.html is stored. By default if the file name is omitted the web server will look for a file called index.html and try to display that in the browser. If you specify a different file name it will look for that file instead.
In your case to access admin.html you only need to specify the file name after the domain.
example.com/admin.html
If it was in another folder you can specify the folder path separate by /
example.com/somefolder/admin.html

How to make doxygen copy a folder without changes into generated HTML docs?

I have a folder with bla.html file and some assets (*.png and *.json) it it.
I want doxygen to copy it into HTML documentation root.
How to make it do such thing in doxygen configuration file (not using external script)?
Upon request:
How about (from the documentation / Doxyfile):
HTML_EXTRA_FILES The HTML_EXTRA_FILES tag can be used to specify one
or more extra images or other source files which should be copied to
the HTML output directory. Note that these files will be copied to the
base HTML output directory. Use the $relpath^ marker in the
HTML_HEADER and/or HTML_FOOTER files to load these files. In the
HTML_STYLESHEET file, use the file name only. Also note that the files
will be copied as-is; there are no commands or markers available. This
tag requires that the tag GENERATE_HTML is set to YES.
The full doxygen documentation can be found at : http://doxygen.nl/manual/index.html and the referred part at: http://doxygen.nl/manual/config.html#cfg_html_extra_files

How to change the look of the "Index Of" page

I am creating a site that allows the person to download the file. The way im doing it now is just uploading the files and folders so if the person wanted something they would go to that folder and download it.
If i wanted to style it like add text how would I do that. If it is done with a html file, i have to create a new .html file for every single file on the server.
If you're running apache, you should configure .htaccess files.
check also this : http://adamwhitcroft.com/apaxy/

html5 cache manifest setting up

According to the manual I read online, in order to use cache manifest, I need to do the following two steps:
1. I need to add 'AddType text/cache-manifest .manifest' in a .htaccess file.
the question is where can I find .htaccess file?
2. compose a new file called offline(DIY name).manifest.
Question is: where should I put this file? Is it under www file or somewhere else?
If I am right, both files should be in your root of that page. Same place where your HTML file is.

change folder index to a HTML page within folder

I have seen a few examples with link to folder but i realy don't understant what it is or how to manipulate it or get it to set the specific html page within the folder.
My website is a basic one with only CSS and HTML
it is formatted as
[file]home.html // C:/Users/user/Desktop/mywebsite/home.html
[folder]Order // C:/Users/user/Desktop/mywebsite/order/
↳[file]ordersheet.html // C:/Users/user/Desktop/mywebsite/order/ordersheet.html
I want to try set the folder path C:/Users/user/Desktop/mywebsite/order/ as the file ordersheet.html C:/Users/user/Desktop/mywebsite/order/ordersheet.html how can this be done?
To set /order to ordersheet.html change the name of ordersheet.html to index.html
The index.html is the default file that the server will serve to the visitor when he visits that specific directory.
link text
link text = what you want it to say to the user
/Users/user/Desktop/mywebsite/order/ = directory path
Keep in mind that this will only work locally. If you have it up on a server, visitors don't have access to your full C:/ drive so you have to use relative links, i.e. just /order/
If I remebember correctly, you use something like this:
<a href="file:///C:/Users/user/Desktop/mywebsite/order/ordersheet.html>link to file on harddisk</a>
If you would want to have that anchor to a folder, you would just use this:
<a href="file:///C:/Users/user/Desktop/mywebsite/order/>link to a folder on harddisk</a>
Your browser is operating directly on your system's local filesystem, so you can't.
What you have been looking at is a function of a web server (I'll use Apache HTTPD for examples here).
A typical configuration of a web server would map the local part of the URI onto a directory on the local file system and just serve up the files there if they matched the local part of the URI.
If the local part resolves to a directory (rather than a file) then it would look for a file in that directory with a name that matched a list (typically including index.html) and serve up that file.
If none of the files on the list existed, then it would generate an HTML document containing links to all the files in the directory.
Since there is no web server involved when the browser is reading the local file system directly, there is no way to map the directory onto an index file, so you would need to explicitly include the filename in the URI (or switch to using a web server).