Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : Added Slash



Threaded Mode | Print  

 Added Slash (3 Replies, Read 1879 times)
reaply
Group: Member
Post Group: Newbie
Posts: 3
Status:
Hello, whenever I browse my directory via localhost, it will generate a
link such as localhost\/index.php and obviously it causes problems.

How would I fix this?
IP: --   

Added Slash
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

Is that directory your project ? And does it contain any .htaccess file in it ?

Also the link changes for all URL or just some particular directories ?

Try creating a new directory Ampps\www\myfolder just put one file index.php in it with the following contents.

Code
<?php
phpinfo();
?>


Then access http://localhost/myfolder from your browser. Let us know the output.


Edited by tidus : September 2, 2013, 6:20 am

-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

Added Slash
reaply
Group: Member
Post Group: Newbie
Posts: 3
Status:
Quote From : tidus September 2, 2013, 6:16 am
Hi,

Is that directory your project ? And does it contain any .htaccess file in it ?

Also the link changes for all URL or just some particular directories ?

Try creating a new directory Ampps\www\myfolder just put one file index.php in it with the following contents.

Code
<?php
phpinfo();
?>


Then access http://localhost/myfolder from your browser. Let us know the output.


First of all, thank you for the fast reply. You must be at the ready!

Localhost (/www) is my project. And it does contain a .htaccess file.

Creating a new directory with the supplied php code, it does not add the extra slash.

Would this be something to do with the .htaccess file?

IP: --   

Added Slash
reaply
Group: Member
Post Group: Newbie
Posts: 3
Status:
Sorry, it was the CMS software I was using.

I am new to ampps so I automatically blamed ampps.

One of the index files made the output use /\ as an ending URL
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 29, 2024, 12:12 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.025