angelcool Posted December 23, 2011 Share Posted December 23, 2011 Hello community, I want to remove the path in a directory index. http://angelcool.net/NEWangelcool.net I want to remove Index of /angelcool.net/NEWangelcool.net/tutorials . I managed to remove the parent directory link using IndexIgnore .. in htaccess. Does anyone know how to remove the directory path ? Thanks Link to comment https://forums.phpfreaks.com/topic/253720-removing-title-path-in-directory-index/ Share on other sites More sharing options...
requinix Posted December 23, 2011 Share Posted December 23, 2011 There doesn't seem to be an IndexOption for it, so the answer would be "You can't - just write a simple script yourself for this". Link to comment https://forums.phpfreaks.com/topic/253720-removing-title-path-in-directory-index/#findComment-1300736 Share on other sites More sharing options...
angelcool Posted December 23, 2011 Author Share Posted December 23, 2011 I figured it out already, just specify a blank header in htacces: HeaderName ../header.html Link to comment https://forums.phpfreaks.com/topic/253720-removing-title-path-in-directory-index/#findComment-1300738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.