Kërkoni te Asistenca

Shmangni karremëzime gjoja asistence. S’do t’ju kërkojmë kurrë të bëni një thirrje apo të dërgoni tekst te një numër telefoni, apo të na jepni të dhëna personale. Ju lutemi, raportoni veprimtari të dyshimtë duke përdorur mundësinë “Raportoni Abuzim”.

Mësoni Më Tepër

Links created by an ASP page to files in a directory on a web site do not work. The path of the files is not the path in the ASP page.

  • 3 përgjigje
  • 4 e kanë hasur këtë problem
  • 8 parje
  • Përgjigjja më e re nga jawendell

more options

When accessing an ASP page on a web site, links are dynamically created for each file in the directory. Normally you can click on the link to open the file. This works correctly in Internet Explorer, Chrome, Safari and Opera. It appears what is taking place is the path of the files links are added to the directory the ASP page is located in instead of the root directory of the web site. So when the links are clicked on to access the files, you get a 404 file not found error.

I am fairly new to using Firefox. Is there a setting that will change how this is handled?

Thanks.

When accessing an ASP page on a web site, links are dynamically created for each file in the directory. Normally you can click on the link to open the file. This works correctly in Internet Explorer, Chrome, Safari and Opera. It appears what is taking place is the path of the files links are added to the directory the ASP page is located in instead of the root directory of the web site. So when the links are clicked on to access the files, you get a 404 file not found error. I am fairly new to using Firefox. Is there a setting that will change how this is handled? Thanks.

Krejt Përgjigjet (3)

more options

Such an issue can be caused by the presence of one or more backslashes in the link text.
Backslashes show up as %5C in links.

more options

Thanks for your reply.

There were two backslashes at the root of the link text. When I remove the backslashes there, the page causes a 500 server error. There must be something else causing the problem.

Thanks.

more options

I found a workaround for now. I added ".." into the construction of the path to the file, which gets back to the root directory of the web site from where the ASP page is located. I tested this in Internet Explorer and it still works ok.

Thanks.